[uClibc-cvs] uClibc/libc/sysdeps/linux/arm/bits sigcontextinfo.h, 1.2, 1.3

Erik Andersen andersen at uclibc.org
Mon Sep 8 22:08:18 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/arm/bits
In directory winder:/home/andersen/CVS/uClibc/libc/sysdeps/linux/arm/bits

Modified Files:
	sigcontextinfo.h 
Log Message:
Fix a trivial compile problem


Index: sigcontextinfo.h
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/arm/bits/sigcontextinfo.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- sigcontextinfo.h	7 Sep 2003 04:08:26 -0000	1.2
+++ sigcontextinfo.h	8 Sep 2003 22:08:14 -0000	1.3
@@ -18,7 +18,7 @@
    02111-1307 USA.  */
 
 #include <bits/armsigctx.h>
-#include "kernel-features.h"
+#include <linux/version.h>
 
 #define SIGCONTEXT int _a2, int _a3, int _a4, union k_sigcontext
 #define SIGCONTEXT_EXTRA_ARGS _a2, _a3, _a4,
@@ -26,7 +26,7 @@
 /* The sigcontext structure changed between 2.0 and 2.1 kernels.  On any
    modern system we should be able to assume that the "new" format will be
    in use.  */
-#if __LINUX_KERNEL_VERSION > 131328
+#if LINUX_VERSION_CODE > 131328
 
 #define GET_PC(ctx)	((void *) ctx.v21.arm_pc)
 #define GET_FRAME(ctx)	ADVANCE_STACK_FRAME ((void *) ctx.v21.arm_fp)




More information about the uClibc-cvs mailing list