diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-07 03:00:16 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:11:53 -0500 |
commit | df7d6aec96ab98cb182dd5138a85bdc363a9bf0d (patch) | |
tree | d71808a328639a32b16c53b24ce8a6b641f43ad2 /arch/sparc64/kernel/setup.c | |
parent | d257d5da39a78b32721ca84b2ba7f461f2f7ed7f (diff) |
[SPARC64]: Rename gl_{1,2}insn_patch --> sun4v_{1,2}insn_patch
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 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c index 40acac5b8337..6d6178efd587 100644 --- a/arch/sparc64/kernel/setup.c +++ b/arch/sparc64/kernel/setup.c | |||
@@ -549,16 +549,16 @@ static void __init per_cpu_patch(void) | |||
549 | #endif | 549 | #endif |
550 | } | 550 | } |
551 | 551 | ||
552 | static void __init gl_patch(void) | 552 | static void __init sun4v_patch(void) |
553 | { | 553 | { |
554 | struct gl_1insn_patch_entry *p1; | 554 | struct sun4v_1insn_patch_entry *p1; |
555 | struct gl_2insn_patch_entry *p2; | 555 | struct sun4v_2insn_patch_entry *p2; |
556 | 556 | ||
557 | if (tlb_type != hypervisor) | 557 | if (tlb_type != hypervisor) |
558 | return; | 558 | return; |
559 | 559 | ||
560 | p1 = &__gl_1insn_patch; | 560 | p1 = &__sun4v_1insn_patch; |
561 | while (p1 < &__gl_1insn_patch_end) { | 561 | while (p1 < &__sun4v_1insn_patch_end) { |
562 | unsigned long addr = p1->addr; | 562 | unsigned long addr = p1->addr; |
563 | 563 | ||
564 | *(unsigned int *) (addr + 0) = p1->insn; | 564 | *(unsigned int *) (addr + 0) = p1->insn; |
@@ -568,8 +568,8 @@ static void __init gl_patch(void) | |||
568 | p1++; | 568 | p1++; |
569 | } | 569 | } |
570 | 570 | ||
571 | p2 = &__gl_2insn_patch; | 571 | p2 = &__sun4v_2insn_patch; |
572 | while (p2 < &__gl_2insn_patch_end) { | 572 | while (p2 < &__sun4v_2insn_patch_end) { |
573 | unsigned long addr = p2->addr; | 573 | unsigned long addr = p2->addr; |
574 | 574 | ||
575 | *(unsigned int *) (addr + 0) = p2->insns[0]; | 575 | *(unsigned int *) (addr + 0) = p2->insns[0]; |
@@ -606,7 +606,7 @@ void __init setup_arch(char **cmdline_p) | |||
606 | */ | 606 | */ |
607 | per_cpu_patch(); | 607 | per_cpu_patch(); |
608 | 608 | ||
609 | gl_patch(); | 609 | sun4v_patch(); |
610 | 610 | ||
611 | boot_flags_init(*cmdline_p); | 611 | boot_flags_init(*cmdline_p); |
612 | 612 | ||