powerpc: Fix objtool unannotated intra-function call warnings
[sfrench/cifs-2.6.git] / arch / powerpc / kernel / misc_64.S
index 36184cada00b1107a67885da80dc6a96dfa5a4e8..c61a7ba446a8a67fac5b8923c36baff97f198db6 100644 (file)
@@ -9,6 +9,7 @@
  * PPC64 updates by Dave Engebretsen (engebret@us.ibm.com)
  */
 
+#include <linux/linkage.h>
 #include <linux/sys.h>
 #include <asm/unistd.h>
 #include <asm/errno.h>
@@ -353,7 +354,7 @@ _GLOBAL(kexec_smp_wait)
  *
  * don't overwrite r3 here, it is live for kexec_wait above.
  */
-real_mode:     /* assume normal blr return */
+SYM_FUNC_START_LOCAL(real_mode)        /* assume normal blr return */
 #ifdef CONFIG_PPC_BOOK3E_64
        /* Create an identity mapping. */
        b       kexec_create_tlb
@@ -370,6 +371,7 @@ real_mode:  /* assume normal blr return */
        mtspr   SPRN_SRR0,r11
        rfid
 #endif
+SYM_FUNC_END(real_mode)
 
 /*
  * kexec_sequence(newstack, start, image, control, clear_all(),