4bdf8bc4a1
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> |
||
---|---|---|
.. | ||
skas | ||
sysdep-i386 | ||
sysdep-ia64 | ||
sysdep-ppc | ||
sysdep-x86_64 | ||
aio.h | ||
arch.h | ||
as-layout.h | ||
chan_kern.h | ||
chan_user.h | ||
common-offsets.h | ||
elf_user.h | ||
frame_kern.h | ||
init.h | ||
initrd.h | ||
irq_kern.h | ||
irq_user.h | ||
kern_util.h | ||
kern.h | ||
line.h | ||
longjmp.h | ||
mconsole_kern.h | ||
mconsole.h | ||
mem_kern.h | ||
mem_user.h | ||
mem.h | ||
misc_constants.h | ||
net_kern.h | ||
net_user.h | ||
os.h | ||
process.h | ||
ptrace_user.h | ||
registers.h | ||
sigcontext.h | ||
sigio.h | ||
signal_kern.h | ||
skas_ptrace.h | ||
skas_ptregs.h | ||
syscall.h | ||
sysrq.h | ||
task.h | ||
tempfile.h | ||
tlb.h | ||
ubd_user.h | ||
um_malloc.h | ||
um_mmu.h | ||
um_uaccess.h | ||
user.h |