Skip to content

Commit

Permalink
powerpc: Use reg.h instead of processor.h when we just want reg names
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mackerras committed Oct 10, 2005
1 parent ff64208 commit b3b8dc6
Showing 6 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/fpu.S
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
*/

#include <linux/config.h>
#include <asm/processor.h>
#include <asm/reg.h>
#include <asm/page.h>
#include <asm/mmu.h>
#include <asm/pgtable.h>
6 changes: 3 additions & 3 deletions arch/powerpc/kernel/head_32.S
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
*/

#include <linux/config.h>
#include <asm/processor.h>
#include <asm/reg.h>
#include <asm/page.h>
#include <asm/mmu.h>
#include <asm/pgtable.h>
@@ -55,8 +55,8 @@
1:

.text
.stabs "arch/ppc/kernel/",N_SO,0,0,0f
.stabs "head.S",N_SO,0,0,0f
.stabs "arch/powerpc/kernel/",N_SO,0,0,0f
.stabs "head_32.S",N_SO,0,0,0f
0:
.globl _stext
_stext:
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/idle_6xx.S
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@

#include <linux/config.h>
#include <linux/threads.h>
#include <asm/processor.h>
#include <asm/reg.h>
#include <asm/page.h>
#include <asm/cputable.h>
#include <asm/thread_info.h>
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/vector.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <linux/config.h>
#include <asm/ppc_asm.h>
#include <asm/processor.h>
#include <asm/reg.h>

/*
* The routines below are in assembler so we can closely control the
5 changes: 0 additions & 5 deletions arch/powerpc/lib/string.S
Original file line number Diff line number Diff line change
@@ -13,11 +13,6 @@
#include <asm/errno.h>
#include <asm/ppc_asm.h>

.text
.stabs "arch/powerpc/lib/",N_SO,0,0,0f
.stabs "string.S",N_SO,0,0,0f
0:

.section __ex_table,"a"
#ifdef CONFIG_PPC64
.align 3
2 changes: 1 addition & 1 deletion arch/powerpc/mm/hash_low_32.S
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
*/

#include <linux/config.h>
#include <asm/processor.h>
#include <asm/reg.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/cputable.h>

0 comments on commit b3b8dc6

Please sign in to comment.