aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm/uaccess.h
diff options
context:
space:
mode:
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>2009-04-30 15:08:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-02 15:36:10 -0700
commit08a42e86bce511b45ca3eee40f51674b02a777d1 (patch)
tree48a518301cf5a7bf9fecbdb554668a68cfb454c2 /arch/alpha/include/asm/uaccess.h
parent1ffb1c0c64b4a2b75eed1f63cc47f2beb711c92f (diff)
downloadkernel_samsung_espresso10-08a42e86bce511b45ca3eee40f51674b02a777d1.zip
kernel_samsung_espresso10-08a42e86bce511b45ca3eee40f51674b02a777d1.tar.gz
kernel_samsung_espresso10-08a42e86bce511b45ca3eee40f51674b02a777d1.tar.bz2
alpha: exception table sorting
Exception fixups for sections other than .text (like one in futex_init()) break the natural ordering of fixup entries, so sorting is required. Without that the result of the exception table search depends on phase of the moon. Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Richard Henderson <rth@twiddle.net Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha/include/asm/uaccess.h')
-rw-r--r--arch/alpha/include/asm/uaccess.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/uaccess.h b/arch/alpha/include/asm/uaccess.h
index 163f305..b49ec2f 100644
--- a/arch/alpha/include/asm/uaccess.h
+++ b/arch/alpha/include/asm/uaccess.h
@@ -507,5 +507,7 @@ struct exception_table_entry
(pc) + (_fixup)->fixup.bits.nextinsn; \
})
+#define ARCH_HAS_SORT_EXTABLE
+#define ARCH_HAS_SEARCH_EXTABLE
#endif /* __ALPHA_UACCESS_H */