diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-04 18:40:53 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:11:45 -0500 |
commit | d96b81533ba3d5775e45aee6986b2aa33c10801c (patch) | |
tree | 334af39452d650cc14b389c58a30cc54e9e130dd /arch/sparc64/kernel/setup.c | |
parent | e1c21c4f476f2270c98aad1fe55e5f33e25f77f5 (diff) |
[SPARC64]: Add sun4v case to __GET_CPUID() patch tables.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/setup.c')
-rw-r--r-- | arch/sparc64/kernel/setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c index f751d11926bc..2918ed3eb1ba 100644 --- a/arch/sparc64/kernel/setup.c +++ b/arch/sparc64/kernel/setup.c | |||
@@ -520,6 +520,9 @@ static void __init per_cpu_patch(void) | |||
520 | else | 520 | else |
521 | insns = &p->cheetah_safari[0]; | 521 | insns = &p->cheetah_safari[0]; |
522 | break; | 522 | break; |
523 | case hypervisor: | ||
524 | insns = &p->sun4v[0]; | ||
525 | break; | ||
523 | default: | 526 | default: |
524 | prom_printf("Unknown cpu type, halting.\n"); | 527 | prom_printf("Unknown cpu type, halting.\n"); |
525 | prom_halt(); | 528 | prom_halt(); |