hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/edac/i3000_edac.c
....@@ -324,7 +324,7 @@
324324
325325 pci_read_config_dword(pdev, I3000_MCHBAR, (u32 *) & mchbar);
326326 mchbar &= I3000_MCHBAR_MASK;
327
- window = ioremap_nocache(mchbar, I3000_MMR_WINDOW_SIZE);
327
+ window = ioremap(mchbar, I3000_MMR_WINDOW_SIZE);
328328 if (!window) {
329329 printk(KERN_ERR "i3000: cannot map mmio space at 0x%lx\n",
330330 mchbar);
....@@ -508,8 +508,8 @@
508508
509509 edac_dbg(3, "MC:\n");
510510
511
- /* Ensure that the OPSTATE is set correctly for POLL or NMI */
512
- opstate_init();
511
+ /* Ensure that the OPSTATE is set correctly for POLL or NMI */
512
+ opstate_init();
513513
514514 pci_rc = pci_register_driver(&i3000_driver);
515515 if (pci_rc < 0)