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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Michael Ellerman

vecāks
f99e33f124
revīzija
d7cceda96b
@@ -28,7 +28,7 @@
|
||||
*/
|
||||
|
||||
_GLOBAL(flush_disable_caches)
|
||||
#ifndef CONFIG_6xx
|
||||
#ifndef CONFIG_PPC_BOOK3S_32
|
||||
blr
|
||||
#else
|
||||
BEGIN_FTR_SECTION
|
||||
@@ -356,4 +356,4 @@ END_FTR_SECTION_IFSET(CPU_FTR_L3CR)
|
||||
mtmsr r11 /* restore DR and EE */
|
||||
isync
|
||||
blr
|
||||
#endif /* CONFIG_6xx */
|
||||
#endif /* CONFIG_PPC_BOOK3S_32 */
|
||||
|
@@ -51,7 +51,7 @@
|
||||
#define DBG(fmt...)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_6xx
|
||||
#ifdef CONFIG_PPC_BOOK3S_32
|
||||
extern int powersave_lowspeed;
|
||||
#endif
|
||||
|
||||
|
@@ -56,7 +56,7 @@
|
||||
* vector that will be called by the ROM on wakeup
|
||||
*/
|
||||
_GLOBAL(low_sleep_handler)
|
||||
#ifndef CONFIG_6xx
|
||||
#ifndef CONFIG_PPC_BOOK3S_32
|
||||
blr
|
||||
#else
|
||||
mflr r0
|
||||
@@ -394,5 +394,5 @@ sleep_storage:
|
||||
.long 0
|
||||
.balign L1_CACHE_BYTES, 0
|
||||
|
||||
#endif /* CONFIG_6xx */
|
||||
#endif /* CONFIG_PPC_BOOK3S_32 */
|
||||
.section .text
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user