Skip to content
Snippets Groups Projects
Commit 11196eb5 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Branch HEAD

Elaborate on why the _ASM_* definitions are set.
b=14746
parent 05bb6f87
No related branches found
No related tags found
No related merge requests found
#ifndef _IOWR #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 * We can avoid any problems with the kernel header being included again by
* by defining _ASM_I386_IOCTL_H here so that a later occurence of * defining _ASM_I386_IOCTL_H here so that a later occurence of <asm/ioctl.h>
* <asm/ioctl.h> does not include the kernel's ioctl.h after this one. * does not include the kernel's ioctl.h after this one. b=14746 */
*/
#define _ASM_I386_IOCTL_H #define _ASM_I386_IOCTL_H
#define _ASM_GENERIC_IOCTL_H
/* ioctl command encoding: 32 bits total, command in lower 16 bits, /* ioctl command encoding: 32 bits total, command in lower 16 bits,
* size of the parameter structure in the lower 14 bits of the * size of the parameter structure in the lower 14 bits of the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment