diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-08 00:15:41 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:11:55 -0500 |
commit | 89a5264f065672a882f555228000614a6b2182b7 (patch) | |
tree | 4fa226fed4b8119096e50ff8c915d2c0f8d6cd6d /include/asm-sparc64 | |
parent | 8591e3027235d6d11b958e43379f2ee7b7114841 (diff) |
[SPARC64]: asm/cpudata.h needs asm/asi.h
For the expansion of __GET_CPUID() on SMP.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/cpudata.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sparc64/cpudata.h b/include/asm-sparc64/cpudata.h index 26b1dc9afbf1..8a171ad77274 100644 --- a/include/asm-sparc64/cpudata.h +++ b/include/asm-sparc64/cpudata.h | |||
@@ -7,6 +7,7 @@ | |||
7 | #define _SPARC64_CPUDATA_H | 7 | #define _SPARC64_CPUDATA_H |
8 | 8 | ||
9 | #include <asm/hypervisor.h> | 9 | #include <asm/hypervisor.h> |
10 | #include <asm/asi.h> | ||
10 | 11 | ||
11 | #ifndef __ASSEMBLY__ | 12 | #ifndef __ASSEMBLY__ |
12 | 13 | ||
@@ -130,9 +131,9 @@ extern struct sun4v_2insn_patch_entry __sun4v_2insn_patch, | |||
130 | lduwa [REG] ASI_PHYS_BYPASS_EC_E, REG;\ | 131 | lduwa [REG] ASI_PHYS_BYPASS_EC_E, REG;\ |
131 | /* sun4v implementation. */ \ | 132 | /* sun4v implementation. */ \ |
132 | mov SCRATCHPAD_CPUID, REG; \ | 133 | mov SCRATCHPAD_CPUID, REG; \ |
133 | nop; \ | ||
134 | ldxa [REG] ASI_SCRATCHPAD, REG; \ | 134 | ldxa [REG] ASI_SCRATCHPAD, REG; \ |
135 | nop; \ | 135 | nop; \ |
136 | nop; \ | ||
136 | .previous; | 137 | .previous; |
137 | 138 | ||
138 | /* Clobbers TMP, current address space PGD phys address into DEST. */ | 139 | /* Clobbers TMP, current address space PGD phys address into DEST. */ |