patch-2.4.22 linux-2.4.22/include/asm-alpha/elf.h
Next file: linux-2.4.22/include/asm-alpha/ioctls.h
Previous file: linux-2.4.22/include/asm-alpha/core_t2.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-alpha/elf.h
- Orig date:
2003-06-13 07:51:38.000000000 -0700
diff -urN linux-2.4.21/include/asm-alpha/elf.h linux-2.4.22/include/asm-alpha/elf.h
@@ -52,6 +52,7 @@
#define ELF_PLAT_INIT(_r) _r->r0 = 0
+#ifdef __KERNEL__
/* The registers are layed out in pt_regs for PAL and syscall
convenience. Re-order them for the linear elf_gregset_t. */
@@ -59,6 +60,7 @@
struct task_struct *);
#define ELF_CORE_COPY_REGS(DEST, REGS) \
dump_elf_thread(DEST, REGS, current);
+#endif /* __KERNEL__ */
/* This yields a mask that user programs can use to figure out what
instruction set this CPU supports. This is trivial on Alpha,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)