diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2008-04-19 14:55:19 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-26 15:35:47 (GMT) |
commit | ae5830a6f8278e1bb700a0956cacc9ceaf311f83 (patch) | |
tree | d6716a378cced4be66ccab5e7fe5ccb1b4f17520 /include/asm-x86/rio.h | |
parent | 2c0903f2abde95d931ecccac7198a685eb04e958 (diff) | |
download | linux-ae5830a6f8278e1bb700a0956cacc9ceaf311f83.tar.xz |
x86: remove duplicate get_bios_ebda() from rio.h
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>
Diffstat (limited to 'include/asm-x86/rio.h')
-rw-r--r-- | include/asm-x86/rio.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/asm-x86/rio.h b/include/asm-x86/rio.h index 3451c57..c9448bd 100644 --- a/include/asm-x86/rio.h +++ b/include/asm-x86/rio.h @@ -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 */ |