aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_stub.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2008-10-17 18:09:17 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-17 18:09:17 +0200
commit107111d450541df8c2a8d3af1d538cc7cd85e81b (patch)
tree4393f425b37ebbf7939ec4b0eb817402e53b7ff3 /drivers/edac/edac_stub.c
parent8108b882329db7fbf9fbca6559aa36e6174dc91f (diff)
downloadkernel_samsung_smdk4412-107111d450541df8c2a8d3af1d538cc7cd85e81b.zip
kernel_samsung_smdk4412-107111d450541df8c2a8d3af1d538cc7cd85e81b.tar.gz
kernel_samsung_smdk4412-107111d450541df8c2a8d3af1d538cc7cd85e81b.tar.bz2
sgiioc4: kill duplicate ioremap()
By the time ide_dma_sgiioc4() gets called, sgiioc4_ide_setup_pci_device() will have called ioremap() on the whole BAR0 region, so calling ioremap() on the DMA registers means wasting a page. Replace this call by a mere address calculation, based on the fact that IRQ registers (pointed to by 'hwif->io_ports.irq_addr') are situated at offset 0 from BAR0. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Cc: jeremy@sgi.com Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/edac/edac_stub.c')
0 files changed, 0 insertions, 0 deletions