diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-11-17 05:24:56 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-11-26 06:33:37 -0500 |
commit | d7cceda96badc1bd444cff27ab9c375a1277c1e3 (patch) | |
tree | 62238e4ef5640373dd821b3e9eaf1f68ab970d44 | |
parent | f99e33f12490d03e34e1b9cb1b3e3a8beff34ae5 (diff) |
powerpc: change CONFIG_6xx to CONFIG_PPC_BOOK3S_32
Today we have:
config PPC_BOOK3S_32
bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx"
[depends on PPC32 within a choice]
config PPC_BOOK3S
def_bool y
depends on PPC_BOOK3S_32 || PPC_BOOK3S_64
config 6xx
def_bool y
depends on PPC32 && PPC_BOOK3S
6xx is therefore redundant with PPC_BOOK3S_32.
In order to make the code clearer, lets use preferably PPC_BOOK3S_32.
This will allow to remove CONFIG_6xx in a later patch.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r-- | arch/powerpc/Makefile | 2 | ||||
-rw-r--r-- | arch/powerpc/include/asm/cache.h | 2 | ||||
-rw-r--r-- | arch/powerpc/include/asm/mmu.h | 2 | ||||
-rw-r--r-- | arch/powerpc/include/asm/reg.h | 2 | ||||
-rw-r--r-- | arch/powerpc/include/asm/time.h | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/cpu_setup_6xx.S | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/entry_32.S | 10 | ||||
-rw-r--r-- | arch/powerpc/kernel/head_32.S | 14 | ||||
-rw-r--r-- | arch/powerpc/kernel/misc_32.S | 4 | ||||
-rw-r--r-- | arch/powerpc/kernel/pmc.c | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/sysfs.c | 2 | ||||
-rw-r--r-- | arch/powerpc/mm/mmu_decl.h | 2 | ||||
-rw-r--r-- | arch/powerpc/oprofile/Makefile | 2 | ||||
-rw-r--r-- | arch/powerpc/oprofile/common.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/powermac/cache.S | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/powermac/feature.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/powermac/sleep.S | 4 | ||||
-rw-r--r-- | arch/powerpc/sysdev/Makefile | 2 |
20 files changed, 33 insertions, 33 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 0bff8bd82ed5..40bbeeeb5b4a 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -241,7 +241,7 @@ KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm) | |||
241 | # often slow when they are implemented at all | 241 | # often slow when they are implemented at all |
242 | KBUILD_CFLAGS += $(call cc-option,-mno-string) | 242 | KBUILD_CFLAGS += $(call cc-option,-mno-string) |
243 | 243 | ||
244 | ifdef CONFIG_6xx | 244 | ifdef CONFIG_PPC_BOOK3S_32 |
245 | KBUILD_CFLAGS += -mcpu=powerpc | 245 | KBUILD_CFLAGS += -mcpu=powerpc |
246 | endif | 246 | endif |
247 | 247 | ||
diff --git a/arch/powerpc/include/asm/cache.h b/arch/powerpc/include/asm/cache.h index 66298461b640..40ea5b3781c6 100644 --- a/arch/powerpc/include/asm/cache.h +++ b/arch/powerpc/include/asm/cache.h | |||
@@ -71,7 +71,7 @@ extern struct ppc64_caches ppc64_caches; | |||
71 | #else | 71 | #else |
72 | #define __read_mostly __attribute__((__section__(".data..read_mostly"))) | 72 | #define __read_mostly __attribute__((__section__(".data..read_mostly"))) |
73 | 73 | ||
74 | #ifdef CONFIG_6xx | 74 | #ifdef CONFIG_PPC_BOOK3S_32 |
75 | extern long _get_L2CR(void); | 75 | extern long _get_L2CR(void); |
76 | extern long _get_L3CR(void); | 76 | extern long _get_L3CR(void); |
77 | extern void _set_L2CR(unsigned long); | 77 | extern void _set_L2CR(unsigned long); |
diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h index eb20eb3b8fb0..47b651deff5b 100644 --- a/arch/powerpc/include/asm/mmu.h +++ b/arch/powerpc/include/asm/mmu.h | |||
@@ -48,7 +48,7 @@ | |||
48 | #define MMU_FTR_USE_HIGH_BATS ASM_CONST(0x00010000) | 48 | #define MMU_FTR_USE_HIGH_BATS ASM_CONST(0x00010000) |
49 | 49 | ||
50 | /* Enable >32-bit physical addresses on 32-bit processor, only used | 50 | /* Enable >32-bit physical addresses on 32-bit processor, only used |
51 | * by CONFIG_6xx currently as BookE supports that from day 1 | 51 | * by CONFIG_PPC_BOOK3S_32 currently as BookE supports that from day 1 |
52 | */ | 52 | */ |
53 | #define MMU_FTR_BIG_PHYS ASM_CONST(0x00020000) | 53 | #define MMU_FTR_BIG_PHYS ASM_CONST(0x00020000) |
54 | 54 | ||
diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h index de52c3166ba4..0d2139a0d5b9 100644 --- a/arch/powerpc/include/asm/reg.h +++ b/arch/powerpc/include/asm/reg.h | |||
@@ -582,7 +582,7 @@ | |||
582 | #define HID0_POWER9_RADIX __MASK(63 - 8) | 582 | #define HID0_POWER9_RADIX __MASK(63 - 8) |
583 | 583 | ||
584 | #define SPRN_HID1 0x3F1 /* Hardware Implementation Register 1 */ | 584 | #define SPRN_HID1 0x3F1 /* Hardware Implementation Register 1 */ |
585 | #ifdef CONFIG_6xx | 585 | #ifdef CONFIG_PPC_BOOK3S_32 |
586 | #define HID1_EMCP (1<<31) /* 7450 Machine Check Pin Enable */ | 586 | #define HID1_EMCP (1<<31) /* 7450 Machine Check Pin Enable */ |
587 | #define HID1_DFS (1<<22) /* 7447A Dynamic Frequency Scaling */ | 587 | #define HID1_DFS (1<<22) /* 7447A Dynamic Frequency Scaling */ |
588 | #define HID1_PC0 (1<<16) /* 7450 PLL_CFG[0] */ | 588 | #define HID1_PC0 (1<<16) /* 7450 PLL_CFG[0] */ |
diff --git a/arch/powerpc/include/asm/time.h b/arch/powerpc/include/asm/time.h index b80d492ceb29..54bf7e68a7e1 100644 --- a/arch/powerpc/include/asm/time.h +++ b/arch/powerpc/include/asm/time.h | |||
@@ -43,7 +43,7 @@ struct div_result { | |||
43 | 43 | ||
44 | /* Accessor functions for the timebase (RTC on 601) registers. */ | 44 | /* Accessor functions for the timebase (RTC on 601) registers. */ |
45 | /* If one day CONFIG_POWER is added just define __USE_RTC as 1 */ | 45 | /* If one day CONFIG_POWER is added just define __USE_RTC as 1 */ |
46 | #ifdef CONFIG_6xx | 46 | #ifdef CONFIG_PPC_BOOK3S_32 |
47 | #define __USE_RTC() (cpu_has_feature(CPU_FTR_USE_RTC)) | 47 | #define __USE_RTC() (cpu_has_feature(CPU_FTR_USE_RTC)) |
48 | #else | 48 | #else |
49 | #define __USE_RTC() 0 | 49 | #define __USE_RTC() 0 |
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 53d4b8d5b54d..a5a6a243f3cf 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -69,7 +69,7 @@ obj-$(CONFIG_FA_DUMP) += fadump.o | |||
69 | ifdef CONFIG_PPC32 | 69 | ifdef CONFIG_PPC32 |
70 | obj-$(CONFIG_E500) += idle_e500.o | 70 | obj-$(CONFIG_E500) += idle_e500.o |
71 | endif | 71 | endif |
72 | obj-$(CONFIG_6xx) += idle_6xx.o l2cr_6xx.o cpu_setup_6xx.o | 72 | obj-$(CONFIG_PPC_BOOK3S_32) += idle_6xx.o l2cr_6xx.o cpu_setup_6xx.o |
73 | obj-$(CONFIG_TAU) += tau_6xx.o | 73 | obj-$(CONFIG_TAU) += tau_6xx.o |
74 | obj-$(CONFIG_HIBERNATION) += swsusp.o suspend.o | 74 | obj-$(CONFIG_HIBERNATION) += swsusp.o suspend.o |
75 | ifdef CONFIG_FSL_BOOKE | 75 | ifdef CONFIG_FSL_BOOKE |
diff --git a/arch/powerpc/kernel/cpu_setup_6xx.S b/arch/powerpc/kernel/cpu_setup_6xx.S index fa3c2c91290c..8c069e96c478 100644 --- a/arch/powerpc/kernel/cpu_setup_6xx.S +++ b/arch/powerpc/kernel/cpu_setup_6xx.S | |||
@@ -326,7 +326,7 @@ _GLOBAL(__save_cpu_setup) | |||
326 | lis r5,cpu_state_storage@h | 326 | lis r5,cpu_state_storage@h |
327 | ori r5,r5,cpu_state_storage@l | 327 | ori r5,r5,cpu_state_storage@l |
328 | 328 | ||
329 | /* Save HID0 (common to all CONFIG_6xx cpus) */ | 329 | /* Save HID0 (common to all CONFIG_PPC_BOOK3S_32 cpus) */ |
330 | mfspr r3,SPRN_HID0 | 330 | mfspr r3,SPRN_HID0 |
331 | stw r3,CS_HID0(r5) | 331 | stw r3,CS_HID0(r5) |
332 | 332 | ||
diff --git a/arch/powerpc/kernel/entry_32.S b/arch/powerpc/kernel/entry_32.S index 77decded1175..0768dfd8a64e 100644 --- a/arch/powerpc/kernel/entry_32.S +++ b/arch/powerpc/kernel/entry_32.S | |||
@@ -200,14 +200,14 @@ transfer_to_handler: | |||
200 | cmplw r1,r9 /* if r1 <= ksp_limit */ | 200 | cmplw r1,r9 /* if r1 <= ksp_limit */ |
201 | ble- stack_ovf /* then the kernel stack overflowed */ | 201 | ble- stack_ovf /* then the kernel stack overflowed */ |
202 | 5: | 202 | 5: |
203 | #if defined(CONFIG_6xx) || defined(CONFIG_E500) | 203 | #if defined(CONFIG_PPC_BOOK3S_32) || defined(CONFIG_E500) |
204 | CURRENT_THREAD_INFO(r9, r1) | 204 | CURRENT_THREAD_INFO(r9, r1) |
205 | tophys(r9,r9) /* check local flags */ | 205 | tophys(r9,r9) /* check local flags */ |
206 | lwz r12,TI_LOCAL_FLAGS(r9) | 206 | lwz r12,TI_LOCAL_FLAGS(r9) |
207 | mtcrf 0x01,r12 | 207 | mtcrf 0x01,r12 |
208 | bt- 31-TLF_NAPPING,4f | 208 | bt- 31-TLF_NAPPING,4f |
209 | bt- 31-TLF_SLEEPING,7f | 209 | bt- 31-TLF_SLEEPING,7f |
210 | #endif /* CONFIG_6xx || CONFIG_E500 */ | 210 | #endif /* CONFIG_PPC_BOOK3S_32 || CONFIG_E500 */ |
211 | .globl transfer_to_handler_cont | 211 | .globl transfer_to_handler_cont |
212 | transfer_to_handler_cont: | 212 | transfer_to_handler_cont: |
213 | 3: | 213 | 3: |
@@ -273,7 +273,7 @@ reenable_mmu: /* re-enable mmu so we can */ | |||
273 | RFI /* jump to handler, enable MMU */ | 273 | RFI /* jump to handler, enable MMU */ |
274 | #endif /* CONFIG_TRACE_IRQFLAGS */ | 274 | #endif /* CONFIG_TRACE_IRQFLAGS */ |
275 | 275 | ||
276 | #if defined (CONFIG_6xx) || defined(CONFIG_E500) | 276 | #if defined (CONFIG_PPC_BOOK3S_32) || defined(CONFIG_E500) |
277 | 4: rlwinm r12,r12,0,~_TLF_NAPPING | 277 | 4: rlwinm r12,r12,0,~_TLF_NAPPING |
278 | stw r12,TI_LOCAL_FLAGS(r9) | 278 | stw r12,TI_LOCAL_FLAGS(r9) |
279 | b power_save_ppc32_restore | 279 | b power_save_ppc32_restore |
@@ -612,7 +612,7 @@ ppc_swapcontext: | |||
612 | handle_page_fault: | 612 | handle_page_fault: |
613 | stw r4,_DAR(r1) | 613 | stw r4,_DAR(r1) |
614 | addi r3,r1,STACK_FRAME_OVERHEAD | 614 | addi r3,r1,STACK_FRAME_OVERHEAD |
615 | #ifdef CONFIG_6xx | 615 | #ifdef CONFIG_PPC_BOOK3S_32 |
616 | andis. r0,r5,DSISR_DABRMATCH@h | 616 | andis. r0,r5,DSISR_DABRMATCH@h |
617 | bne- handle_dabr_fault | 617 | bne- handle_dabr_fault |
618 | #endif | 618 | #endif |
@@ -629,7 +629,7 @@ handle_page_fault: | |||
629 | bl bad_page_fault | 629 | bl bad_page_fault |
630 | b ret_from_except_full | 630 | b ret_from_except_full |
631 | 631 | ||
632 | #ifdef CONFIG_6xx | 632 | #ifdef CONFIG_PPC_BOOK3S_32 |
633 | /* We have a data breakpoint exception - handle it */ | 633 | /* We have a data breakpoint exception - handle it */ |
634 | handle_dabr_fault: | 634 | handle_dabr_fault: |
635 | SAVE_NVGPRS(r1) | 635 | SAVE_NVGPRS(r1) |
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S index 61ca27929355..118c3b216e60 100644 --- a/arch/powerpc/kernel/head_32.S +++ b/arch/powerpc/kernel/head_32.S | |||
@@ -176,10 +176,10 @@ __after_mmu_off: | |||
176 | bl reloc_offset | 176 | bl reloc_offset |
177 | li r24,0 /* cpu# */ | 177 | li r24,0 /* cpu# */ |
178 | bl call_setup_cpu /* Call setup_cpu for this CPU */ | 178 | bl call_setup_cpu /* Call setup_cpu for this CPU */ |
179 | #ifdef CONFIG_6xx | 179 | #ifdef CONFIG_PPC_BOOK3S_32 |
180 | bl reloc_offset | 180 | bl reloc_offset |
181 | bl init_idle_6xx | 181 | bl init_idle_6xx |
182 | #endif /* CONFIG_6xx */ | 182 | #endif /* CONFIG_PPC_BOOK3S_32 */ |
183 | 183 | ||
184 | 184 | ||
185 | /* | 185 | /* |
@@ -836,10 +836,10 @@ __secondary_start: | |||
836 | lis r3,-KERNELBASE@h | 836 | lis r3,-KERNELBASE@h |
837 | mr r4,r24 | 837 | mr r4,r24 |
838 | bl call_setup_cpu /* Call setup_cpu for this CPU */ | 838 | bl call_setup_cpu /* Call setup_cpu for this CPU */ |
839 | #ifdef CONFIG_6xx | 839 | #ifdef CONFIG_PPC_BOOK3S_32 |
840 | lis r3,-KERNELBASE@h | 840 | lis r3,-KERNELBASE@h |
841 | bl init_idle_6xx | 841 | bl init_idle_6xx |
842 | #endif /* CONFIG_6xx */ | 842 | #endif /* CONFIG_PPC_BOOK3S_32 */ |
843 | 843 | ||
844 | /* get current_thread_info and current */ | 844 | /* get current_thread_info and current */ |
845 | lis r1,secondary_ti@ha | 845 | lis r1,secondary_ti@ha |
@@ -880,14 +880,14 @@ __secondary_start: | |||
880 | 880 | ||
881 | /* | 881 | /* |
882 | * Those generic dummy functions are kept for CPUs not | 882 | * Those generic dummy functions are kept for CPUs not |
883 | * included in CONFIG_6xx | 883 | * included in CONFIG_PPC_BOOK3S_32 |
884 | */ | 884 | */ |
885 | #if !defined(CONFIG_6xx) | 885 | #if !defined(CONFIG_PPC_BOOK3S_32) |
886 | _ENTRY(__save_cpu_setup) | 886 | _ENTRY(__save_cpu_setup) |
887 | blr | 887 | blr |
888 | _ENTRY(__restore_cpu_setup) | 888 | _ENTRY(__restore_cpu_setup) |
889 | blr | 889 | blr |
890 | #endif /* !defined(CONFIG_6xx) */ | 890 | #endif /* !defined(CONFIG_PPC_BOOK3S_32) */ |
891 | 891 | ||
892 | 892 | ||
893 | /* | 893 | /* |
diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S index 695b24a2d954..57d2ffb2d45c 100644 --- a/arch/powerpc/kernel/misc_32.S +++ b/arch/powerpc/kernel/misc_32.S | |||
@@ -153,7 +153,7 @@ _GLOBAL(call_setup_cpu) | |||
153 | mtctr r5 | 153 | mtctr r5 |
154 | bctr | 154 | bctr |
155 | 155 | ||
156 | #if defined(CONFIG_CPU_FREQ_PMAC) && defined(CONFIG_6xx) | 156 | #if defined(CONFIG_CPU_FREQ_PMAC) && defined(CONFIG_PPC_BOOK3S_32) |
157 | 157 | ||
158 | /* This gets called by via-pmu.c to switch the PLL selection | 158 | /* This gets called by via-pmu.c to switch the PLL selection |
159 | * on 750fx CPU. This function should really be moved to some | 159 | * on 750fx CPU. This function should really be moved to some |
@@ -223,7 +223,7 @@ _GLOBAL(low_choose_7447a_dfs) | |||
223 | mtmsr r7 | 223 | mtmsr r7 |
224 | blr | 224 | blr |
225 | 225 | ||
226 | #endif /* CONFIG_CPU_FREQ_PMAC && CONFIG_6xx */ | 226 | #endif /* CONFIG_CPU_FREQ_PMAC && CONFIG_PPC_BOOK3S_32 */ |
227 | 227 | ||
228 | /* | 228 | /* |
229 | * complement mask on the msr then "or" some values on. | 229 | * complement mask on the msr then "or" some values on. |
diff --git a/arch/powerpc/kernel/pmc.c b/arch/powerpc/kernel/pmc.c index 58eaa3ddf7b9..2de71faca911 100644 --- a/arch/powerpc/kernel/pmc.c +++ b/arch/powerpc/kernel/pmc.c | |||
@@ -29,7 +29,7 @@ static void dummy_perf(struct pt_regs *regs) | |||
29 | { | 29 | { |
30 | #if defined(CONFIG_FSL_EMB_PERFMON) | 30 | #if defined(CONFIG_FSL_EMB_PERFMON) |
31 | mtpmr(PMRN_PMGC0, mfpmr(PMRN_PMGC0) & ~PMGC0_PMIE); | 31 | mtpmr(PMRN_PMGC0, mfpmr(PMRN_PMGC0) & ~PMGC0_PMIE); |
32 | #elif defined(CONFIG_PPC64) || defined(CONFIG_6xx) | 32 | #elif defined(CONFIG_PPC64) || defined(CONFIG_PPC_BOOK3S_32) |
33 | if (cur_cpu_spec->pmc_type == PPC_PMC_IBM) | 33 | if (cur_cpu_spec->pmc_type == PPC_PMC_IBM) |
34 | mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMAO)); | 34 | mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMAO)); |
35 | #else | 35 | #else |
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index 81909600013a..972c98d1e208 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c | |||
@@ -240,7 +240,7 @@ void __init exc_lvl_early_init(void) | |||
240 | 240 | ||
241 | void __init setup_power_save(void) | 241 | void __init setup_power_save(void) |
242 | { | 242 | { |
243 | #ifdef CONFIG_6xx | 243 | #ifdef CONFIG_PPC_BOOK3S_32 |
244 | if (cpu_has_feature(CPU_FTR_CAN_DOZE) || | 244 | if (cpu_has_feature(CPU_FTR_CAN_DOZE) || |
245 | cpu_has_feature(CPU_FTR_CAN_NAP)) | 245 | cpu_has_feature(CPU_FTR_CAN_NAP)) |
246 | ppc_md.power_save = ppc6xx_idle; | 246 | ppc_md.power_save = ppc6xx_idle; |
diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c index 755dc98a57ae..e8e93c2c7d03 100644 --- a/arch/powerpc/kernel/sysfs.c +++ b/arch/powerpc/kernel/sysfs.c | |||
@@ -457,7 +457,7 @@ static ssize_t __used \ | |||
457 | #define HAS_PPC_PMC_CLASSIC 1 | 457 | #define HAS_PPC_PMC_CLASSIC 1 |
458 | #define HAS_PPC_PMC_IBM 1 | 458 | #define HAS_PPC_PMC_IBM 1 |
459 | #define HAS_PPC_PMC_PA6T 1 | 459 | #define HAS_PPC_PMC_PA6T 1 |
460 | #elif defined(CONFIG_6xx) | 460 | #elif defined(CONFIG_PPC_BOOK3S_32) |
461 | #define HAS_PPC_PMC_CLASSIC 1 | 461 | #define HAS_PPC_PMC_CLASSIC 1 |
462 | #define HAS_PPC_PMC_IBM 1 | 462 | #define HAS_PPC_PMC_IBM 1 |
463 | #define HAS_PPC_PMC_G4 1 | 463 | #define HAS_PPC_PMC_G4 1 |
diff --git a/arch/powerpc/mm/mmu_decl.h b/arch/powerpc/mm/mmu_decl.h index 8574fbbc45e0..c4a717da65eb 100644 --- a/arch/powerpc/mm/mmu_decl.h +++ b/arch/powerpc/mm/mmu_decl.h | |||
@@ -155,7 +155,7 @@ struct tlbcam { | |||
155 | }; | 155 | }; |
156 | #endif | 156 | #endif |
157 | 157 | ||
158 | #if defined(CONFIG_6xx) || defined(CONFIG_FSL_BOOKE) || defined(CONFIG_PPC_8xx) | 158 | #if defined(CONFIG_PPC_BOOK3S_32) || defined(CONFIG_FSL_BOOKE) || defined(CONFIG_PPC_8xx) |
159 | /* 6xx have BATS */ | 159 | /* 6xx have BATS */ |
160 | /* FSL_BOOKE have TLBCAM */ | 160 | /* FSL_BOOKE have TLBCAM */ |
161 | /* 8xx have LTLB */ | 161 | /* 8xx have LTLB */ |
diff --git a/arch/powerpc/oprofile/Makefile b/arch/powerpc/oprofile/Makefile index 8d26d7416481..bb2d94c8cbe6 100644 --- a/arch/powerpc/oprofile/Makefile +++ b/arch/powerpc/oprofile/Makefile | |||
@@ -16,4 +16,4 @@ oprofile-$(CONFIG_OPROFILE_CELL) += op_model_cell.o \ | |||
16 | cell/spu_task_sync.o | 16 | cell/spu_task_sync.o |
17 | oprofile-$(CONFIG_PPC_BOOK3S_64) += op_model_power4.o op_model_pa6t.o | 17 | oprofile-$(CONFIG_PPC_BOOK3S_64) += op_model_power4.o op_model_pa6t.o |
18 | oprofile-$(CONFIG_FSL_EMB_PERFMON) += op_model_fsl_emb.o | 18 | oprofile-$(CONFIG_FSL_EMB_PERFMON) += op_model_fsl_emb.o |
19 | oprofile-$(CONFIG_6xx) += op_model_7450.o | 19 | oprofile-$(CONFIG_PPC_BOOK3S_32) += op_model_7450.o |
diff --git a/arch/powerpc/oprofile/common.c b/arch/powerpc/oprofile/common.c index bf094c5a4bd9..a11132865504 100644 --- a/arch/powerpc/oprofile/common.c +++ b/arch/powerpc/oprofile/common.c | |||
@@ -212,7 +212,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) | |||
212 | model = &op_model_pa6t; | 212 | model = &op_model_pa6t; |
213 | break; | 213 | break; |
214 | #endif | 214 | #endif |
215 | #ifdef CONFIG_6xx | 215 | #ifdef CONFIG_PPC_BOOK3S_32 |
216 | case PPC_OPROFILE_G4: | 216 | case PPC_OPROFILE_G4: |
217 | model = &op_model_7450; | 217 | model = &op_model_7450; |
218 | break; | 218 | break; |
diff --git a/arch/powerpc/platforms/powermac/cache.S b/arch/powerpc/platforms/powermac/cache.S index 27862feee4a5..f0641b6e6075 100644 --- a/arch/powerpc/platforms/powermac/cache.S +++ b/arch/powerpc/platforms/powermac/cache.S | |||
@@ -28,7 +28,7 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | _GLOBAL(flush_disable_caches) | 30 | _GLOBAL(flush_disable_caches) |
31 | #ifndef CONFIG_6xx | 31 | #ifndef CONFIG_PPC_BOOK3S_32 |
32 | blr | 32 | blr |
33 | #else | 33 | #else |
34 | BEGIN_FTR_SECTION | 34 | BEGIN_FTR_SECTION |
@@ -356,4 +356,4 @@ END_FTR_SECTION_IFSET(CPU_FTR_L3CR) | |||
356 | mtmsr r11 /* restore DR and EE */ | 356 | mtmsr r11 /* restore DR and EE */ |
357 | isync | 357 | isync |
358 | blr | 358 | blr |
359 | #endif /* CONFIG_6xx */ | 359 | #endif /* CONFIG_PPC_BOOK3S_32 */ |
diff --git a/arch/powerpc/platforms/powermac/feature.c b/arch/powerpc/platforms/powermac/feature.c index ed2f54b3f173..073ff4544083 100644 --- a/arch/powerpc/platforms/powermac/feature.c +++ b/arch/powerpc/platforms/powermac/feature.c | |||
@@ -51,7 +51,7 @@ | |||
51 | #define DBG(fmt...) | 51 | #define DBG(fmt...) |
52 | #endif | 52 | #endif |
53 | 53 | ||
54 | #ifdef CONFIG_6xx | 54 | #ifdef CONFIG_PPC_BOOK3S_32 |
55 | extern int powersave_lowspeed; | 55 | extern int powersave_lowspeed; |
56 | #endif | 56 | #endif |
57 | 57 | ||
diff --git a/arch/powerpc/platforms/powermac/sleep.S b/arch/powerpc/platforms/powermac/sleep.S index f89808b9713d..fb64b09cad9d 100644 --- a/arch/powerpc/platforms/powermac/sleep.S +++ b/arch/powerpc/platforms/powermac/sleep.S | |||
@@ -56,7 +56,7 @@ | |||
56 | * vector that will be called by the ROM on wakeup | 56 | * vector that will be called by the ROM on wakeup |
57 | */ | 57 | */ |
58 | _GLOBAL(low_sleep_handler) | 58 | _GLOBAL(low_sleep_handler) |
59 | #ifndef CONFIG_6xx | 59 | #ifndef CONFIG_PPC_BOOK3S_32 |
60 | blr | 60 | blr |
61 | #else | 61 | #else |
62 | mflr r0 | 62 | mflr r0 |
@@ -394,5 +394,5 @@ sleep_storage: | |||
394 | .long 0 | 394 | .long 0 |
395 | .balign L1_CACHE_BYTES, 0 | 395 | .balign L1_CACHE_BYTES, 0 |
396 | 396 | ||
397 | #endif /* CONFIG_6xx */ | 397 | #endif /* CONFIG_PPC_BOOK3S_32 */ |
398 | .section .text | 398 | .section .text |
diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile index 2caa4defdfb6..aaf23283ba0c 100644 --- a/arch/powerpc/sysdev/Makefile +++ b/arch/powerpc/sysdev/Makefile | |||
@@ -48,7 +48,7 @@ obj-$(CONFIG_PPC_MPC512x) += mpc5xxx_clocks.o | |||
48 | obj-$(CONFIG_PPC_MPC52xx) += mpc5xxx_clocks.o | 48 | obj-$(CONFIG_PPC_MPC52xx) += mpc5xxx_clocks.o |
49 | 49 | ||
50 | ifdef CONFIG_SUSPEND | 50 | ifdef CONFIG_SUSPEND |
51 | obj-$(CONFIG_6xx) += 6xx-suspend.o | 51 | obj-$(CONFIG_PPC_BOOK3S_32) += 6xx-suspend.o |
52 | endif | 52 | endif |
53 | 53 | ||
54 | obj-$(CONFIG_PPC_SCOM) += scom.o | 54 | obj-$(CONFIG_PPC_SCOM) += scom.o |