Commit 1dcf83fd authored by Alan Cox's avatar Alan Cox Committed by Ingo Molnar

toshiba: use ioremap_cached

The switch of ioremap to default to uncached doesn't break this driver
but it does needlessly slow it down as BIOS space is cachable and this
driver is quite happy scanning cached ROM space.
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 2544a873
...@@ -426,7 +426,7 @@ static int tosh_probe(void) ...@@ -426,7 +426,7 @@ static int tosh_probe(void)
int i,major,minor,day,year,month,flag; int i,major,minor,day,year,month,flag;
unsigned char signature[7] = { 0x54,0x4f,0x53,0x48,0x49,0x42,0x41 }; unsigned char signature[7] = { 0x54,0x4f,0x53,0x48,0x49,0x42,0x41 };
SMMRegisters regs; SMMRegisters regs;
void __iomem *bios = ioremap(0xf0000, 0x10000); void __iomem *bios = ioremap_cache(0xf0000, 0x10000);
if (!bios) if (!bios)
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment