Messages in this thread | | | Date | Sat, 19 Jan 2013 18:41:02 +0530 | From | Vineet Gupta <> | Subject | Re: [PATCH v2 10/76] ARC: Fundamental ARCH data-types/defines |
| |
On Saturday 19 January 2013 08:55 AM, Al Viro wrote: > On Fri, Jan 18, 2013 at 05:54:24PM +0530, Vineet Gupta wrote: > >> +/* work to do on interrupt/exception return */ >> +#define _TIF_WORK_MASK (0x0000FFFF & ~_TIF_SYSCALL_TRACE) > Yuck... Use the real set, please - there's future-proofing and then there's > leaving nasty minefields; this is the latter...
Rightly so - fixed in next revision. BTW I'm not bothering with SYSCALL_AUDIT yet, so that's out of those.
-#define _TIF_WORK_MASK (0x0000FFFF & ~_TIF_SYSCALL_TRACE) +#define _TIF_WORK_MASK (_TIF_NEED_RESCHED | _TIF_SIGPENDING \ + _TIF_NOTIFY_RESUME)
Thx, -Vineet
| |