提交 485a4a92 编写于 作者: R Ralf Baechle

Make UL what should be UL.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 750ccf68
......@@ -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))
......
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册