mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
MIPS: VDSO: avoid duplicate CAC_BASE definition
am: ad8387a602
Change-Id: Ieb60782ea6590b8f05ca915dc509b065498e6355
This commit is contained in:
@@ -12,14 +12,16 @@
|
||||
|
||||
/*
|
||||
* IP27 uses the R10000's uncached attribute feature. Attribute 3 selects
|
||||
* uncached memory addressing.
|
||||
* uncached memory addressing. Hide the definitions on 32-bit compilation
|
||||
* of the compat-vdso code.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_64BIT
|
||||
#define HSPEC_BASE 0x9000000000000000
|
||||
#define IO_BASE 0x9200000000000000
|
||||
#define MSPEC_BASE 0x9400000000000000
|
||||
#define UNCAC_BASE 0x9600000000000000
|
||||
#define CAC_BASE 0xa800000000000000
|
||||
#endif
|
||||
|
||||
#define TO_MSPEC(x) (MSPEC_BASE | ((x) & TO_PHYS_MASK))
|
||||
#define TO_HSPEC(x) (HSPEC_BASE | ((x) & TO_PHYS_MASK))
|
||||
|
||||
Reference in New Issue
Block a user