Skip to content

Commit b3b8dc6

Browse files
committed
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 <[email protected]>
1 parent ff64208 commit b3b8dc6

File tree

6 files changed

+7
-12
lines changed

6 files changed

+7
-12
lines changed

arch/powerpc/kernel/fpu.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111

1212
#include <linux/config.h>
13-
#include <asm/processor.h>
13+
#include <asm/reg.h>
1414
#include <asm/page.h>
1515
#include <asm/mmu.h>
1616
#include <asm/pgtable.h>

arch/powerpc/kernel/head_32.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424

2525
#include <linux/config.h>
26-
#include <asm/processor.h>
26+
#include <asm/reg.h>
2727
#include <asm/page.h>
2828
#include <asm/mmu.h>
2929
#include <asm/pgtable.h>
@@ -55,8 +55,8 @@
5555
1:
5656

5757
.text
58-
.stabs "arch/ppc/kernel/",N_SO,0,0,0f
59-
.stabs "head.S",N_SO,0,0,0f
58+
.stabs "arch/powerpc/kernel/",N_SO,0,0,0f
59+
.stabs "head_32.S",N_SO,0,0,0f
6060
0:
6161
.globl _stext
6262
_stext:

arch/powerpc/kernel/idle_6xx.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#include <linux/config.h>
1717
#include <linux/threads.h>
18-
#include <asm/processor.h>
18+
#include <asm/reg.h>
1919
#include <asm/page.h>
2020
#include <asm/cputable.h>
2121
#include <asm/thread_info.h>

arch/powerpc/kernel/vector.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <linux/config.h>
22
#include <asm/ppc_asm.h>
3-
#include <asm/processor.h>
3+
#include <asm/reg.h>
44

55
/*
66
* The routines below are in assembler so we can closely control the

arch/powerpc/lib/string.S

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
#include <asm/errno.h>
1414
#include <asm/ppc_asm.h>
1515

16-
.text
17-
.stabs "arch/powerpc/lib/",N_SO,0,0,0f
18-
.stabs "string.S",N_SO,0,0,0f
19-
0:
20-
2116
.section __ex_table,"a"
2217
#ifdef CONFIG_PPC64
2318
.align 3

arch/powerpc/mm/hash_low_32.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525

2626
#include <linux/config.h>
27-
#include <asm/processor.h>
27+
#include <asm/reg.h>
2828
#include <asm/page.h>
2929
#include <asm/pgtable.h>
3030
#include <asm/cputable.h>

0 commit comments

Comments
 (0)