diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-02-01 19:01:36 +0100 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-02-04 18:53:15 +0100 |
commit | 7f04f0816848a51b761db6e7958e42f127e8264c (patch) | |
tree | 26775c66a74e2083b3d7f459547f24c83c6ae7b3 /arch/tile/kernel/stack.c | |
parent | tile: provide "screen_info" when enabling VT (diff) | |
download | linux-7f04f0816848a51b761db6e7958e42f127e8264c.tar.xz linux-7f04f0816848a51b761db6e7958e42f127e8264c.zip |
tile: avoid defining INT_MASK macro in <arch/interrupts.h>
Unfortunately, this name conflicts with a different use of
the name in various places through the tree, so don't provide
it for the kernel. We preserve it for userspace to avoid
breaking any userspace code that relies on this definition.
This fixes a number of compile errors for various drivers that
are enabled by "allyesconfig".
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/stack.c')
-rw-r--r-- | arch/tile/kernel/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/stack.c b/arch/tile/kernel/stack.c index b2f44c28dda6..ba2b36ce9b66 100644 --- a/arch/tile/kernel/stack.c +++ b/arch/tile/kernel/stack.c @@ -112,7 +112,7 @@ static struct pt_regs *valid_fault_handler(struct KBacktraceIterator* kbt) p->pc, p->sp, p->ex1); p = NULL; } - if (!kbt->profile || (INT_MASK(p->faultnum) & QUEUED_INTERRUPTS) == 0) + if (!kbt->profile || ((1ULL << p->faultnum) & QUEUED_INTERRUPTS) == 0) return p; return NULL; } |