Re: [PATCH v4 03/15] h8300: Exception and Interrupt handling

2015-02-21 Thread Yoshinori Sato
At Sat, 21 Feb 2015 09:58:04 +, Al Viro wrote: > > On Sat, Feb 21, 2015 at 04:53:47PM +0900, Yoshinori Sato wrote: > > > +resume_userspace: > > + andc#0xbf,ccr > > + mov.l sp,er4 > > + and.w #0xe000,r4 /* er4 <- current thread info */ > > + mov.l @(TI_FLAGS:16,e

Re: [PATCH v4 03/15] h8300: Exception and Interrupt handling

2015-02-21 Thread Al Viro
On Sat, Feb 21, 2015 at 04:53:47PM +0900, Yoshinori Sato wrote: > +resume_userspace: > + andc#0xbf,ccr > + mov.l sp,er4 > + and.w #0xe000,r4 /* er4 <- current thread info */ > + mov.l @(TI_FLAGS:16,er4),er1 > + and.l #_TIF_WORK_MASK,er1 > + beq

[PATCH v4 03/15] h8300: Exception and Interrupt handling

2015-02-21 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/h8300/kernel/entry.S | 418 ++ arch/h8300/kernel/irq.c | 100 +++ arch/h8300/kernel/traps.c | 161 ++ 3 files changed, 679 insertions(+) create mode 100644 arch/h8300/kernel/entry.S crea