Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 485a4a92 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

Make UL what should be UL.

parent 750ccf68
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -55,13 +55,13 @@
#endif
#endif


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


#define TO_PHYS(x)		(             ((x) & TO_PHYS_MASK))
#define TO_PHYS(x)		(             ((x) & TO_PHYS_MASK))
#define TO_CAC(x)		(CAC_BASE   | ((x) & TO_PHYS_MASK))
#define TO_CAC(x)		(CAC_BASE   | ((x) & TO_PHYS_MASK))
+4 −4
Original line number Original line Diff line number Diff line
@@ -19,10 +19,10 @@
#define HIGHMEM_START		(1UL << 59UL)
#define HIGHMEM_START		(1UL << 59UL)
#endif
#endif


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


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