Skip to content

Commit

Permalink
mips: remove dma64_addr_t usage
Browse files Browse the repository at this point in the history
dma64_addr_t looks pointless (at least there is no point that an
architecture has the own dma64_addr_t typedef).

dma_addr_t is set to 32 or 64 bits appropriately.  You can use u64 at
places where you know that 64 bit address is always necessary.

Let's use u64 instead for mips.

Signed-off-by: FUJITA Tomonori <[email protected]>
Cc: Ralf Baechle <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
fujita authored and torvalds committed Oct 28, 2010
1 parent 4ad9b20 commit c1c7438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/include/asm/pci/bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ struct bridge_controller {
nasid_t nasid;
unsigned int widget_id;
unsigned int irq_cpu;
dma64_addr_t baddr;
u64 baddr;
unsigned int pci_int[8];
};

Expand Down

0 comments on commit c1c7438

Please sign in to comment.