summaryrefslogtreecommitdiffstats
path: root/arch/um/include/skas/mode-skas.h
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2008-02-05 07:30:44 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 18:44:26 +0100
commit4bdf8bc4a15d4540d71db9fa01955db5edcf89ec (patch)
tree9df4b5960104a8143b00af27ae6474145c36c0b1 /arch/um/include/skas/mode-skas.h
parentuml: clone.c tidying (diff)
downloadlinux-4bdf8bc4a15d4540d71db9fa01955db5edcf89ec.tar.xz
linux-4bdf8bc4a15d4540d71db9fa01955db5edcf89ec.zip
uml: borrow const.h techniques
Suggested by Geert Uytterhoeven - use const.h to get constants that are usable in both C and assembly. I can't include it directly since this code can't include kernel headers. const.h is also for numeric constants that can be typed by tacking a "UL" or similar on the end. The constants here have to be typed by casting them. So, the relevant parts of const.h are copied here and modified in order to allow the constants to be uncasted in assembly and casted in C. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions