Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1240463
| From | Gabriel Laskar <gabriel@lse.epita.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 1/3] mce: change asm/ioctls.h for linux/ioctl.h |
| Date | 2015-10-06 16:30 +0200 |
| Message-ID | <qgBpD-hk-3@gated-at.bofh.it> (permalink) |
| References | <qgBpD-hk-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
v2: commit message
arch/x86/include/uapi/asm/mce.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/uapi/asm/mce.h b/arch/x86/include/uapi/asm/mce.h
index 76880ed..03429da 100644
--- a/arch/x86/include/uapi/asm/mce.h
+++ b/arch/x86/include/uapi/asm/mce.h
@@ -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 {
--
2.6.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 1/3] mce: change asm/ioctls.h for linux/ioctl.h Gabriel Laskar <gabriel@lse.epita.fr> - 2015-10-06 16:30 +0200 [tip:ras/core] x86/mce: Include linux/ioctl.h in uapi mce header tip-bot for Gabriel Laskar <tipbot@zytor.com> - 2015-10-12 16:40 +0200
csiph-web