diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-04 19:24:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-12 06:12:05 -0400 |
commit | a43b739f257fd2569e11c6c93fbb86df382848e9 (patch) | |
tree | 06a55abba25e5fbce8069d1bfe47dc4a2172a38c /arch/blackfin/include/asm/uaccess.h | |
parent | 8d0d8f2a3a57479b695a59ed2f67236f1488b90d (diff) | |
download | lwn-a43b739f257fd2569e11c6c93fbb86df382848e9.tar.gz lwn-a43b739f257fd2569e11c6c93fbb86df382848e9.zip |
Blackfin: push access_ok() L1 attribute down
There is no need for the L1 attribute to be on the prototype of the
access_ok() function as all consumers of the function do not care where it
lives -- they'll always use pcrel calls to get to it. This prevents
pointless recompiles of most of the system when this config option changes.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/uaccess.h')
-rw-r--r-- | arch/blackfin/include/asm/uaccess.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/blackfin/include/asm/uaccess.h b/arch/blackfin/include/asm/uaccess.h index 01f42b02e26c..8894e9ffbb57 100644 --- a/arch/blackfin/include/asm/uaccess.h +++ b/arch/blackfin/include/asm/uaccess.h @@ -59,12 +59,8 @@ static inline int is_in_rom(unsigned long addr) #ifndef CONFIG_ACCESS_CHECK static inline int _access_ok(unsigned long addr, unsigned long size) { return 1; } #else -#ifdef CONFIG_ACCESS_OK_L1 -extern int _access_ok(unsigned long addr, unsigned long size)__attribute__((l1_text)); -#else extern int _access_ok(unsigned long addr, unsigned long size); #endif -#endif /* * The exception table consists of pairs of addresses: the first is the |