[PATCH] m32r: Update syscall macros for MMU-less targets
authorHirokazu Takata <takata@linux-m32r.org>
Fri, 6 Jan 2006 08:18:42 +0000 (00:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:43 +0000 (08:33 -0800)
commit1b5b776aa5730cbda9cba84ba0f8ccd53a775797
tree60b661ac7cceba108dd07062a54e7fb724a19e72
parent9287d95ea194abf32fab24c6909f8ea55ab0292f
[PATCH] m32r: Update syscall macros for MMU-less targets

This patch is for updating m32r's MMU-less support.

Some legacy MMU-less m32r chips cannot return from a trap handler to the
right-hand side 16-bit halfword code of a 32-bit instrucion code pair, because
a "trap" instruction specification was expanded in M32R-II ISA.

This modification forces "trap" instructions to be placed in word alignment
location with a parallel "nop" code.

Signed-off-by: Kazuhiro Inaoka <inaoka@linux-m32r.org>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-m32r/unistd.h