]> Pileus Git - ~andy/linux/commitdiff
x86: unify asm/io.h: IO_SPACE_LIMIT
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 28 Jan 2009 23:42:23 +0000 (15:42 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 29 Jan 2009 06:34:17 +0000 (22:34 -0800)
Impact: Cleanup (trivial unification)

Move common define IO_SPACE_LIMIT from <asm/io_*.h> to <asm/io.h>.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/io.h
arch/x86/include/asm/io_32.h
arch/x86/include/asm/io_64.h

index 05cfed4485fae802dc9be64f0a0feb9cf3214150..975207c08b3e9eedcbf18312b458d5aedf06687d 100644 (file)
@@ -106,5 +106,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 */
index d8e242e1b396a0dedeb3810127628d2adbe5b949..e08d8ed05a1f7b0225ff42797585c83bdda94731 100644 (file)
@@ -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. */
 
index 563c16270ba6d3fee1bda648f873109b7c1d2b3f..1131d8ea2c61d8bfc5bb69cbf37e09684d3214f0 100644 (file)
@@ -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>