瀏覽代碼

fix FIOQSIZE in arm ioctl.h

arm ioctl.h is the same as the generic one except this macro,
so a workaround solution is used to avoid another ioctl.h copy.
Szabolcs Nagy 8 年之前
父節點
當前提交
cd208b0037
共有 3 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      arch/arm/bits/ioctl_fix.h
  2. 2 0
      arch/generic/bits/ioctl.h
  3. 0 0
      arch/generic/bits/ioctl_fix.h

+ 2 - 0
arch/arm/bits/ioctl_fix.h

@@ -0,0 +1,2 @@
+#undef FIOQSIZE
+#define FIOQSIZE 0x545e

+ 2 - 0
arch/generic/bits/ioctl.h

@@ -200,3 +200,5 @@ struct winsize {
 
 #define SIOCDEVPRIVATE		0x89F0
 #define SIOCPROTOPRIVATE	0x89E0
+
+#include <bits/ioctl_fix.h>

+ 0 - 0
arch/generic/bits/ioctl_fix.h