diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-04-29 14:20:23 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-30 23:15:34 +0200 |
commit | 1dcf83fd0c42525dd36cfeb61fe0bfb12113c6b3 (patch) | |
tree | 19a00bb4750b5d07cf265167c74dcd55ca3ff783 /drivers | |
parent | 2544a873ab2a1ee9196bb2f4b12c3afd44ec8a06 (diff) | |
download | blackbird-op-linux-1dcf83fd0c42525dd36cfeb61fe0bfb12113c6b3.tar.gz blackbird-op-linux-1dcf83fd0c42525dd36cfeb61fe0bfb12113c6b3.zip |
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: Alan Cox <alan@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/toshiba.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/toshiba.c b/drivers/char/toshiba.c index 64f1ceed0b2c..663cd15d7c78 100644 --- a/drivers/char/toshiba.c +++ b/drivers/char/toshiba.c @@ -426,7 +426,7 @@ static int tosh_probe(void) int i,major,minor,day,year,month,flag; unsigned char signature[7] = { 0x54,0x4f,0x53,0x48,0x49,0x42,0x41 }; SMMRegisters regs; - void __iomem *bios = ioremap(0xf0000, 0x10000); + void __iomem *bios = ioremap_cache(0xf0000, 0x10000); if (!bios) return -ENOMEM; |