summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-12-12 18:15:25 +0100
committerArnd Bergmann <arnd@arndb.de>2020-01-03 09:32:51 +0100
commit202bf8d7583f2b6e28de2e9edf6fcd7e3667a173 (patch)
treeacc551431ec00ecd6c4935a7d4a2de51c0cae4c6 /tools
parent556d687a4ccd54ab50a721ddde42c820545effd9 (diff)
downloadlinux-202bf8d7583f2b6e28de2e9edf6fcd7e3667a173.tar.gz
linux-202bf8d7583f2b6e28de2e9edf6fcd7e3667a173.tar.bz2
linux-202bf8d7583f2b6e28de2e9edf6fcd7e3667a173.zip
compat: provide compat_ptr() on all architectures
In order to avoid needless #ifdef CONFIG_COMPAT checks, move the compat_ptr() definition to linux/compat.h where it can be seen by any file regardless of the architecture. Only s390 needs a special definition, this can use the self-#define trick we have elsewhere. Reviewed-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions