]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: remove duplicate get_bios_ebda() from rio.h
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 19 Apr 2008 14:55:19 +0000 (23:55 +0900)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 15:35:47 +0000 (17:35 +0200)
get_bios_ebda() exists in asm/rio.h and asm/bios_ebda.h.
This patch removes the one in asm/rio.h.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-calgary_64.c
include/asm-x86/rio.h

index 2edee22e9c307610f71b47799c792ea8009713be..e28ec497e142f49cc4847f833ff5a5f8f96833f6 100644 (file)
@@ -43,6 +43,7 @@
 #include <asm/system.h>
 #include <asm/dma.h>
 #include <asm/rio.h>
+#include <asm/bios_ebda.h>
 
 #ifdef CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT
 int use_calgary __read_mostly = 1;
index 3451c576e6afc1f26a6bbad5401fec0bf75c85db..c9448bd8968f3696f800d240078e3b0510e101b7 100644 (file)
@@ -60,15 +60,4 @@ enum {
        ALT_CALGARY     = 5,    /* Second Planar Calgary      */
 };
 
-/*
- * there is a real-mode segmented pointer pointing to the
- * 4K EBDA area at 0x40E.
- */
-static inline unsigned long get_bios_ebda(void)
-{
-       unsigned long address = *(unsigned short *)phys_to_virt(0x40EUL);
-       address <<= 4;
-       return address;
-}
-
 #endif /* __ASM_RIO_H */