From: adilger Date: Mon, 26 May 2008 19:47:14 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_50~440 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=11196eb5d34206c91c52f53ddf291956380ce719;p=fs%2Flustre-release.git Branch HEAD Elaborate on why the _ASM_* definitions are set. b=14746 --- diff --git a/lustre/include/ioctl.h b/lustre/include/ioctl.h index 6c3eb5a..b308833 100644 --- a/lustre/include/ioctl.h +++ b/lustre/include/ioctl.h @@ -1,14 +1,13 @@ - #ifndef _IOWR -/* - * on i386 and x86_64, _ASM_I386_IOCTL_H is defined by the kernel's ioctl.h +/* On i386 and x86_64, _ASM_I386_IOCTL_H is defined by the kernel's ioctl.h, + * and on newer kernels this header is shared as _ASM_GENERIC_IOCTL_H. * - * We can avoid any problems with the kernel header being included again - * by defining _ASM_I386_IOCTL_H here so that a later occurence of - * does not include the kernel's ioctl.h after this one. - */ + * We can avoid any problems with the kernel header being included again by + * defining _ASM_I386_IOCTL_H here so that a later occurence of + * does not include the kernel's ioctl.h after this one. b=14746 */ #define _ASM_I386_IOCTL_H +#define _ASM_GENERIC_IOCTL_H /* ioctl command encoding: 32 bits total, command in lower 16 bits, * size of the parameter structure in the lower 14 bits of the