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

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)