summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-08 05:02:08 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-08 05:02:08 +0000
commit99aa495ff35864383680f9773b3cb44040acca08 (patch)
treeb56aebc8e61c8323f75a205df7c902374597132a /libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h
parenta25d5bd4971bb460bd87c684d066fd58359faf32 (diff)
downloaduClibc-alpine-99aa495ff35864383680f9773b3cb44040acca08.tar.bz2
uClibc-alpine-99aa495ff35864383680f9773b3cb44040acca08.tar.xz
NPTL changes for signal handling, getpid, sleep, raise and a few things
for new librt code. Also cleaned up the makefiles.
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h b/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h
index dd2d40a44..3fc7f8e67 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h
@@ -25,13 +25,8 @@
# include <sgidefs.h>
#endif
-# include <linux/version.h>
-# define __LINUX_KERNEL_VERSION LINUX_VERSION_CODE
-
-#ifndef __LINUX_KERNEL_VERSION
-/* We assume the worst; all kernels should be supported. */
-# define __LINUX_KERNEL_VERSION 0
-#endif
+#include <linux/version.h>
+#define __LINUX_KERNEL_VERSION LINUX_VERSION_CODE
/* We assume for __LINUX_KERNEL_VERSION the same encoding used in
linux/version.h. I.e., the major, minor, and subminor all get a