1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_PATCHKEY_H_INDIRECT
13 #error "patchkey.h included directly"
16 #ifndef _LINUX_PATCHKEY_H
17 #define _LINUX_PATCHKEY_H
22 #if __BYTE_ORDER == __BIG_ENDIAN
23 #define _PATCHKEY(id) (0xfd00|id)
24 #elif __BYTE_ORDER == __LITTLE_ENDIAN
25 #define _PATCHKEY(id) ((id<<8)|0x00fd)
27 #error "could not determine byte order"