diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-25 18:49:59 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-29 05:49:41 -0400 |
commit | 5cbc30737398b49f62ae8603129ce43ac7db1a41 (patch) | |
tree | 45d01a686865e6fd9c32b670f77af1e37db03008 /arch/sparc64/kernel/entry.S | |
parent | e01c0d6d8cf29c1c11725837b265598cab687952 (diff) |
[SPARC64]: Use machine description and OBP properly for cpu probing.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/entry.S')
-rw-r--r-- | arch/sparc64/kernel/entry.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/entry.S b/arch/sparc64/kernel/entry.S index b5dbd5709155..f8cc3c0731c7 100644 --- a/arch/sparc64/kernel/entry.S +++ b/arch/sparc64/kernel/entry.S | |||
@@ -1949,3 +1949,12 @@ sun4v_mach_set_soft_state: | |||
1949 | ta HV_FAST_TRAP | 1949 | ta HV_FAST_TRAP |
1950 | retl | 1950 | retl |
1951 | nop | 1951 | nop |
1952 | |||
1953 | .globl sun4v_mach_desc | ||
1954 | sun4v_mach_desc: | ||
1955 | mov %o2, %o4 | ||
1956 | mov HV_FAST_MACH_DESC, %o5 | ||
1957 | ta HV_FAST_TRAP | ||
1958 | stx %o1, [%o4] | ||
1959 | retl | ||
1960 | nop | ||