From e372ec8cf96204441760c83dfa97ca929f382a72 Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Fri, 15 Nov 2013 16:29:28 -0800 Subject: [PATCH] Pull in cleaned version.h header. Change-Id: Ia917af9336b63ed5a10147770a8110134cb274cb --- libc/kernel/uapi/linux/version.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libc/kernel/uapi/linux/version.h diff --git a/libc/kernel/uapi/linux/version.h b/libc/kernel/uapi/linux/version.h new file mode 100644 index 000000000..71e52343d --- /dev/null +++ b/libc/kernel/uapi/linux/version.h @@ -0,0 +1,20 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#define LINUX_VERSION_CODE 199428 +#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))