Skip to content

Commit

Permalink
Make UL what should be UL.
Browse files Browse the repository at this point in the history
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 750ccf6 commit 485a4a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions include/asm-mips/mach-generic/spaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@
#endif

#ifdef CONFIG_DMA_NONCOHERENT
#define CAC_BASE 0x9800000000000000
#define CAC_BASE 0x9800000000000000UL
#else
#define CAC_BASE 0xa800000000000000
#define CAC_BASE 0xa800000000000000UL
#endif
#define IO_BASE 0x9000000000000000
#define UNCAC_BASE 0x9000000000000000
#define MAP_BASE 0xc000000000000000
#define IO_BASE 0x9000000000000000UL
#define UNCAC_BASE 0x9000000000000000UL
#define MAP_BASE 0xc000000000000000UL

#define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
#define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK))
Expand Down
8 changes: 4 additions & 4 deletions include/asm-mips/mach-ip32/spaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#define HIGHMEM_START (1UL << 59UL)
#endif

#define CAC_BASE 0x9800000000000000
#define IO_BASE 0x9000000000000000
#define UNCAC_BASE 0x9000000000000000
#define MAP_BASE 0xc000000000000000
#define CAC_BASE 0x9800000000000000UL
#define IO_BASE 0x9000000000000000UL
#define UNCAC_BASE 0x9000000000000000UL
#define MAP_BASE 0xc000000000000000UL

#define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
#define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK))
Expand Down

0 comments on commit 485a4a9

Please sign in to comment.