mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
x86/mce: Include linux/ioctl.h in uapi mce header
asm/ioctls.h contains definition for termios, not just the _IO* macros. This error was found with a tool in development used to generate automated pretty-printing functions for ioctl decoding in strace. Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr> Acked-by: Arnd Bergmann <arnd@arndb.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/1444141657-14898-2-git-send-email-gabriel@lse.epita.fr Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
25cb62b764
commit
7e0abcd6b7
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
#define _UAPI_ASM_X86_MCE_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/ioctls.h>
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
/* Fields are zero when not available */
|
||||
struct mce {
|
||||
|
|
Loading…
Reference in a new issue