[PATCH] Remove unneeded #defines in head.S

arch/ppc64/kernel/head.S #defines SECONDARY_PROCESSORS then has some
#ifdefs based on it. Whatever purpose this had is long lost, this
patch removes it.

Likewise, head.S defines H_SET_ASR, which is now defined, along with
other hypervisor call numbers in hvcall.h. This patch deletes it, as
well, from head.S.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

David Gibson and committed by
Paul Mackerras
1d086e6b 60ba4494

-11
-11
arch/ppc64/kernel/head.S
··· 23 * 2 of the License, or (at your option) any later version. 24 */ 25 26 - #define SECONDARY_PROCESSORS 27 - 28 #include <linux/config.h> 29 #include <linux/threads.h> 30 #include <asm/processor.h> ··· 40 #ifdef CONFIG_PPC_ISERIES 41 #define DO_SOFT_DISABLE 42 #endif 43 - 44 - /* 45 - * hcall interface to pSeries LPAR 46 - */ 47 - #define H_SET_ASR 0x30 48 49 /* 50 * We layout physical memory as follows: ··· 622 623 cmpwi 0,r23,0 624 beq iSeries_secondary_smp_loop /* Loop until told to go */ 625 - #ifdef SECONDARY_PROCESSORS 626 bne .__secondary_start /* Loop until told to go */ 627 - #endif 628 iSeries_secondary_smp_loop: 629 /* Let the Hypervisor know we are alive */ 630 /* 8002 is a call to HvCallCfg::getLps, a harmless Hypervisor function */ ··· 1316 1317 cmpwi 0,r23,0 1318 #ifdef CONFIG_SMP 1319 - #ifdef SECONDARY_PROCESSORS 1320 bne .__secondary_start 1321 - #endif 1322 #endif 1323 b 3b /* Loop until told to go */ 1324
··· 23 * 2 of the License, or (at your option) any later version. 24 */ 25 26 #include <linux/config.h> 27 #include <linux/threads.h> 28 #include <asm/processor.h> ··· 42 #ifdef CONFIG_PPC_ISERIES 43 #define DO_SOFT_DISABLE 44 #endif 45 46 /* 47 * We layout physical memory as follows: ··· 629 630 cmpwi 0,r23,0 631 beq iSeries_secondary_smp_loop /* Loop until told to go */ 632 bne .__secondary_start /* Loop until told to go */ 633 iSeries_secondary_smp_loop: 634 /* Let the Hypervisor know we are alive */ 635 /* 8002 is a call to HvCallCfg::getLps, a harmless Hypervisor function */ ··· 1325 1326 cmpwi 0,r23,0 1327 #ifdef CONFIG_SMP 1328 bne .__secondary_start 1329 #endif 1330 b 3b /* Loop until told to go */ 1331