powerpc: Do not call prink when CONFIG_PRINTK is not defined

When printk() is disabled (CONFIG_PRINTK) at menu item
General setup
-> Configure standard kernel features (for small systems)
-> Enable support for printk
then there should be no printk() calls at all.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by Márton Németh and committed by Benjamin Herrenschmidt 09156a7a 409d241b

+4
+4
arch/powerpc/kernel/head_fsl_booke.S
··· 884 884 lwz r3,_MSR(r1) 885 885 oris r3,r3,MSR_SPE@h 886 886 stw r3,_MSR(r1) /* enable use of SPE after return */ 887 + #ifdef CONFIG_PRINTK 887 888 lis r3,87f@h 888 889 ori r3,r3,87f@l 889 890 mr r4,r2 /* current */ 890 891 lwz r5,_NIP(r1) 891 892 bl printk 893 + #endif 892 894 b ret_from_except 895 + #ifdef CONFIG_PRINTK 893 896 87: .string "SPE used in kernel (task=%p, pc=%x) \n" 897 + #endif 894 898 .align 4,0 895 899 896 900 #endif /* CONFIG_SPE */