Commit d62eec54 authored by David S. Miller's avatar David S. Miller

[TG3]: Use ioremap_nocache().

Noticed by Andi Kleen.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a11ddcf3
......@@ -8249,7 +8249,7 @@ static int __devinit tg3_init_one(struct pci_dev *pdev,
spin_lock_init(&tp->indirect_lock);
INIT_WORK(&tp->reset_task, tg3_reset_task, tp);
tp->regs = ioremap(tg3reg_base, tg3reg_len);
tp->regs = ioremap_nocache(tg3reg_base, tg3reg_len);
if (tp->regs == 0UL) {
printk(KERN_ERR PFX "Cannot map device registers, "
"aborting.\n");
......
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