diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-02-07 15:12:24 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-04-07 14:25:53 +0200 |
commit | a66a626538af65cbfc611e2b2fce500ed3f24518 (patch) | |
tree | 1d471b691d098b3ed5c23ac2af8bdd2f9184d64f /arch/microblaze/mm/consistent.c | |
parent | microblaze: Remove platform folder (diff) | |
download | linux-a66a626538af65cbfc611e2b2fce500ed3f24518.tar.xz linux-a66a626538af65cbfc611e2b2fce500ed3f24518.zip |
microblaze: Use asm-generic/io.h
Using generic io.h will narrow down code duplication
in architecture io.h.
- define PCI_IOBASE
- remove non existing pci_io_base extern
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/mm/consistent.c')
-rw-r--r-- | arch/microblaze/mm/consistent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/mm/consistent.c b/arch/microblaze/mm/consistent.c index dbbf2246a260..e10ad930895e 100644 --- a/arch/microblaze/mm/consistent.c +++ b/arch/microblaze/mm/consistent.c @@ -117,7 +117,7 @@ void *consistent_alloc(gfp_t gfp, size_t size, dma_addr_t *dma_handle) ret = (void *)va; /* This gives us the real physical address of the first page. */ - *dma_handle = pa = virt_to_bus((void *)vaddr); + *dma_handle = pa = __virt_to_phys(vaddr); #endif /* |