Commit fc2ece26 authored by Peter Chubb's avatar Peter Chubb Committed by David Mosberger

[PATCH] ia64: drop stale check for GAS_HAS_LOCAL_TAGS

GAS_HAS_LOCAL_TAGS was removed a long time ago, but uaccess.h never got
updated.  Without this fix, bad syscall args may cause a SEGFAULT instead
of failing gracefully.
parent bc8f63af
......@@ -408,11 +408,7 @@ struct exception_table_entry {
extern void handle_exception (struct pt_regs *regs, const struct exception_table_entry *e);
extern const struct exception_table_entry *search_exception_tables (unsigned long addr);
#ifdef GAS_HAS_LOCAL_TAGS
# define SEARCH_EXCEPTION_TABLE(regs) search_exception_tables(regs->cr_iip + ia64_psr(regs)->ri)
#else
# define SEARCH_EXCEPTION_TABLE(regs) search_exception_tables(regs->cr_iip)
#endif
static inline int
done_with_exception (struct pt_regs *regs)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment