summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/exceptions-64e.S
diff options
context:
space:
mode:
authorAnton Blanchard2014-02-04 06:06:11 +0100
committerAnton Blanchard2014-04-23 02:05:18 +0200
commit6a3bab90cf78bc579638525cb76ac240f8253803 (patch)
tree13f4f13ebb1bdebce54d33b0b899e4d9e7119355 /arch/powerpc/kernel/exceptions-64e.S
parentpowerpc: Don't use a function descriptor for system call table (diff)
downloadkernel-qcow2-linux-6a3bab90cf78bc579638525cb76ac240f8253803.tar.gz
kernel-qcow2-linux-6a3bab90cf78bc579638525cb76ac240f8253803.tar.xz
kernel-qcow2-linux-6a3bab90cf78bc579638525cb76ac240f8253803.zip
powerpc: Remove some unnecessary uses of _GLOBAL() and _STATIC()
There is no need to create a function descriptor for functions called locally out of assembly. Signed-off-by: Anton Blanchard <anton@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/exceptions-64e.S')
-rw-r--r--arch/powerpc/kernel/exceptions-64e.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/exceptions-64e.S b/arch/powerpc/kernel/exceptions-64e.S
index 5e37338c2e5c..c8ac8a09b0f8 100644
--- a/arch/powerpc/kernel/exceptions-64e.S
+++ b/arch/powerpc/kernel/exceptions-64e.S
@@ -1596,14 +1596,14 @@ _GLOBAL(book3e_secondary_thread_init)
mflr r28
b 3b
-_STATIC(init_core_book3e)
+init_core_book3e:
/* Establish the interrupt vector base */
LOAD_REG_IMMEDIATE(r3, interrupt_base_book3e)
mtspr SPRN_IVPR,r3
sync
blr
-_STATIC(init_thread_book3e)
+init_thread_book3e:
lis r3,(SPRN_EPCR_ICM | SPRN_EPCR_GICM)@h
mtspr SPRN_EPCR,r3