[PATCH] [POWERPC] iSeries: fix section mismatch warnings

Will Schmidt will_schmidt at vnet.ibm.com
Thu Jul 26 02:55:31 EST 2007


> diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S
> index 8cdd48e..1448af9 100644
> --- a/arch/powerpc/kernel/head_64.S
> +++ b/arch/powerpc/kernel/head_64.S
> @@ -809,8 +809,9 @@ system_reset_iSeries:
>  	mtmsrd	r24			/* RI on */
>  	lhz	r24,PACAPACAINDEX(r13)	/* Get processor # */
>  	cmpwi	0,r24,0			/* Are we processor 0? */
> -	beq	.__start_initialization_iSeries	/* Start up the first processor */
> -	mfspr	r4,SPRN_CTRLF
> +	bne	1f
> +	b	.__start_initialization_iSeries	/* Start up the first processor */
> +1:	mfspr	r4,SPRN_CTRLF
>  	li	r5,CTRL_RUNLATCH	/* Turn off the run light */
>  	andc	r4,r4,r5
>  	mtspr	SPRN_CTRLT,r4

This part isnt clicking for me.. 
How does changing a "beq" to a "bne" over a "b" fit into changing
__start_initialization_iSeries static?  


-Will




More information about the Linuxppc-dev mailing list