瀏覽代碼

Merge branch 'x86/cleanups' into x86/core

Ingo Molnar 16 年之前
父節點
當前提交
881c47760b
共有 3 個文件被更改,包括 1 次插入4 次删除
  1. 1 0
      arch/x86/include/asm/io.h
  2. 0 2
      arch/x86/include/asm/io_32.h
  3. 0 2
      arch/x86/include/asm/io_64.h

+ 1 - 0
arch/x86/include/asm/io.h

@@ -105,5 +105,6 @@ extern void __iomem *early_memremap(unsigned long offset, unsigned long size);
 extern void early_iounmap(void __iomem *addr, unsigned long size);
 extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys);
 
+#define IO_SPACE_LIMIT 0xffff
 
 #endif /* _ASM_X86_IO_H */

+ 0 - 2
arch/x86/include/asm/io_32.h

@@ -37,8 +37,6 @@
   *  - Arnaldo Carvalho de Melo <acme@conectiva.com.br>
   */
 
-#define IO_SPACE_LIMIT 0xffff
-
 #define XQUAD_PORTIO_BASE 0xfe400000
 #define XQUAD_PORTIO_QUAD 0x40000  /* 256k per quad. */
 

+ 0 - 2
arch/x86/include/asm/io_64.h

@@ -136,8 +136,6 @@ __OUTS(b)
 __OUTS(w)
 __OUTS(l)
 
-#define IO_SPACE_LIMIT 0xffff
-
 #if defined(__KERNEL__) && defined(__x86_64__)
 
 #include <linux/vmalloc.h>