aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-10 08:20:10 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-10 08:20:10 -0400
commitb3b8dc6c07cecc1f8d52d03f677206bdf9f794c9 (patch)
tree5d5c3ac4de563d03759d98399030aac00be33023
parentff64208df7eb17c5526197449762ff5e04a95de6 (diff)
powerpc: Use reg.h instead of processor.h when we just want reg names
Now that the register names and bit definitions are all in reg.h, use that instead of processor.h in assembly code in a few places. Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/kernel/fpu.S2
-rw-r--r--arch/powerpc/kernel/head_32.S6
-rw-r--r--arch/powerpc/kernel/idle_6xx.S2
-rw-r--r--arch/powerpc/kernel/vector.S2
-rw-r--r--arch/powerpc/lib/string.S5
-rw-r--r--arch/powerpc/mm/hash_low_32.S2
6 files changed, 7 insertions, 12 deletions
diff --git a/arch/powerpc/kernel/fpu.S b/arch/powerpc/kernel/fpu.S
index 04e95e810b21..563d445ff584 100644
--- a/arch/powerpc/kernel/fpu.S
+++ b/arch/powerpc/kernel/fpu.S
@@ -10,7 +10,7 @@
10 */ 10 */
11 11
12#include <linux/config.h> 12#include <linux/config.h>
13#include <asm/processor.h> 13#include <asm/reg.h>
14#include <asm/page.h> 14#include <asm/page.h>
15#include <asm/mmu.h> 15#include <asm/mmu.h>
16#include <asm/pgtable.h> 16#include <asm/pgtable.h>
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S
index d9dbbd426744..108e78ef3878 100644
--- a/arch/powerpc/kernel/head_32.S
+++ b/arch/powerpc/kernel/head_32.S
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include <linux/config.h> 25#include <linux/config.h>
26#include <asm/processor.h> 26#include <asm/reg.h>
27#include <asm/page.h> 27#include <asm/page.h>
28#include <asm/mmu.h> 28#include <asm/mmu.h>
29#include <asm/pgtable.h> 29#include <asm/pgtable.h>
@@ -55,8 +55,8 @@
551: 551:
56 56
57 .text 57 .text
58 .stabs "arch/ppc/kernel/",N_SO,0,0,0f 58 .stabs "arch/powerpc/kernel/",N_SO,0,0,0f
59 .stabs "head.S",N_SO,0,0,0f 59 .stabs "head_32.S",N_SO,0,0,0f
600: 600:
61 .globl _stext 61 .globl _stext
62_stext: 62_stext:
diff --git a/arch/powerpc/kernel/idle_6xx.S b/arch/powerpc/kernel/idle_6xx.S
index 1a2194cf6828..444fdcc769f1 100644
--- a/arch/powerpc/kernel/idle_6xx.S
+++ b/arch/powerpc/kernel/idle_6xx.S
@@ -15,7 +15,7 @@
15 15
16#include <linux/config.h> 16#include <linux/config.h>
17#include <linux/threads.h> 17#include <linux/threads.h>
18#include <asm/processor.h> 18#include <asm/reg.h>
19#include <asm/page.h> 19#include <asm/page.h>
20#include <asm/cputable.h> 20#include <asm/cputable.h>
21#include <asm/thread_info.h> 21#include <asm/thread_info.h>
diff --git a/arch/powerpc/kernel/vector.S b/arch/powerpc/kernel/vector.S
index 12cb90bc209c..66b3d03c5fa5 100644
--- a/arch/powerpc/kernel/vector.S
+++ b/arch/powerpc/kernel/vector.S
@@ -1,6 +1,6 @@
1#include <linux/config.h> 1#include <linux/config.h>
2#include <asm/ppc_asm.h> 2#include <asm/ppc_asm.h>
3#include <asm/processor.h> 3#include <asm/reg.h>
4 4
5/* 5/*
6 * The routines below are in assembler so we can closely control the 6 * The routines below are in assembler so we can closely control the
diff --git a/arch/powerpc/lib/string.S b/arch/powerpc/lib/string.S
index 15d40e9ef8b1..b9ca84ed8927 100644
--- a/arch/powerpc/lib/string.S
+++ b/arch/powerpc/lib/string.S
@@ -13,11 +13,6 @@
13#include <asm/errno.h> 13#include <asm/errno.h>
14#include <asm/ppc_asm.h> 14#include <asm/ppc_asm.h>
15 15
16 .text
17 .stabs "arch/powerpc/lib/",N_SO,0,0,0f
18 .stabs "string.S",N_SO,0,0,0f
190:
20
21 .section __ex_table,"a" 16 .section __ex_table,"a"
22#ifdef CONFIG_PPC64 17#ifdef CONFIG_PPC64
23 .align 3 18 .align 3
diff --git a/arch/powerpc/mm/hash_low_32.S b/arch/powerpc/mm/hash_low_32.S
index 57278a8dd132..12ccd7155bac 100644
--- a/arch/powerpc/mm/hash_low_32.S
+++ b/arch/powerpc/mm/hash_low_32.S
@@ -24,7 +24,7 @@
24 */ 24 */
25 25
26#include <linux/config.h> 26#include <linux/config.h>
27#include <asm/processor.h> 27#include <asm/reg.h>
28#include <asm/page.h> 28#include <asm/page.h>
29#include <asm/pgtable.h> 29#include <asm/pgtable.h>
30#include <asm/cputable.h> 30#include <asm/cputable.h>