| .. | .. |
|---|
| 10 | 10 | #ifndef _ASM_MACH_IP27_SPACES_H |
|---|
| 11 | 11 | #define _ASM_MACH_IP27_SPACES_H |
|---|
| 12 | 12 | |
|---|
| 13 | +#include <linux/const.h> |
|---|
| 14 | + |
|---|
| 13 | 15 | /* |
|---|
| 14 | 16 | * IP27 uses the R10000's uncached attribute feature. Attribute 3 selects |
|---|
| 15 | 17 | * uncached memory addressing. Hide the definitions on 32-bit compilation |
|---|
| 16 | 18 | * of the compat-vdso code. |
|---|
| 17 | 19 | */ |
|---|
| 18 | 20 | #ifdef CONFIG_64BIT |
|---|
| 19 | | -#define HSPEC_BASE 0x9000000000000000 |
|---|
| 20 | | -#define IO_BASE 0x9200000000000000 |
|---|
| 21 | | -#define MSPEC_BASE 0x9400000000000000 |
|---|
| 22 | | -#define UNCAC_BASE 0x9600000000000000 |
|---|
| 23 | | -#define CAC_BASE 0xa800000000000000 |
|---|
| 21 | +#define HSPEC_BASE _AC(0x9000000000000000, UL) |
|---|
| 22 | +#define IO_BASE _AC(0x9200000000000000, UL) |
|---|
| 23 | +#define MSPEC_BASE _AC(0x9400000000000000, UL) |
|---|
| 24 | +#define UNCAC_BASE _AC(0x9600000000000000, UL) |
|---|
| 25 | +#define CAC_BASE _AC(0xa800000000000000, UL) |
|---|
| 24 | 26 | #endif |
|---|
| 25 | 27 | |
|---|
| 26 | 28 | #define TO_MSPEC(x) (MSPEC_BASE | ((x) & TO_PHYS_MASK)) |
|---|