Re: [RFC PATCH v1 02/31] ARC: irqflags

2012-12-31 Thread Vineet Gupta
On Tuesday 13 November 2012 01:20 AM, Thomas Gleixner wrote: > On Wed, 7 Nov 2012, Vineet Gupta wrote: >> + ** >> + * Inline ASM macros to read/write AUX Regs >> + * Essentially invocation of lr/sr insns from "C" >> + */ >> +

Re: [RFC PATCH v1 02/31] ARC: irqflags

2012-11-12 Thread Thomas Gleixner
On Wed, 7 Nov 2012, Vineet Gupta wrote: > + ** > + * Inline ASM macros to read/write AUX Regs > + * Essentially invocation of lr/sr insns from "C" > + */ > + > +#if 1 Leftover ??? > +#define read_aux_reg(reg)__builtin_a

[RFC PATCH v1 02/31] ARC: irqflags

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- arch/arc/include/asm/arcregs.h | 114 +++ arch/arc/include/asm/irqflags.h | 143 +++ arch/arc/kernel/irq.c | 32 + 3 files changed, 289 insertions(+), 0 deletions(-) create mode