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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
Akinobu Mita 2008-04-19 23:55:19 +09:00 • committed by Ingo Molnar
commit ae5830a6f8
2 changed files with 1 additions and 11 deletions

View 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 */