patch-2.4.0-test11 linux/include/asm-ppc/current.h

Next file: linux/include/asm-ppc/dbdma.h
Previous file: linux/include/asm-ppc/cpm_8260.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/include/asm-ppc/current.h linux/include/asm-ppc/current.h
@@ -1,3 +1,4 @@
+#ifdef __KERNEL__
 #ifndef _PPC_CURRENT_H
 #define _PPC_CURRENT_H
 
@@ -7,3 +8,4 @@
 register struct task_struct *current asm ("r2");
 
 #endif /* !(_PPC_CURRENT_H) */
+#endif /* __KERNEL__ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)