Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3b8dc6c authored by Paul Mackerras's avatar Paul Mackerras
Browse files

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: default avatarPaul Mackerras <paulus@samba.org>
parent ff64208d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -10,7 +10,7 @@
 */
 */


#include <linux/config.h>
#include <linux/config.h>
#include <asm/processor.h>
#include <asm/reg.h>
#include <asm/page.h>
#include <asm/page.h>
#include <asm/mmu.h>
#include <asm/mmu.h>
#include <asm/pgtable.h>
#include <asm/pgtable.h>
+3 −3
Original line number Original line Diff line number Diff line
@@ -23,7 +23,7 @@
 */
 */


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


	.text
	.text
	.stabs	"arch/ppc/kernel/",N_SO,0,0,0f
	.stabs	"arch/powerpc/kernel/",N_SO,0,0,0f
	.stabs	"head.S",N_SO,0,0,0f
	.stabs	"head_32.S",N_SO,0,0,0f
0:
0:
	.globl	_stext
	.globl	_stext
_stext:
_stext:
+1 −1
Original line number Original line Diff line number Diff line
@@ -15,7 +15,7 @@


#include <linux/config.h>
#include <linux/config.h>
#include <linux/threads.h>
#include <linux/threads.h>
#include <asm/processor.h>
#include <asm/reg.h>
#include <asm/page.h>
#include <asm/page.h>
#include <asm/cputable.h>
#include <asm/cputable.h>
#include <asm/thread_info.h>
#include <asm/thread_info.h>
+1 −1
Original line number Original line Diff line number Diff line
#include <linux/config.h>
#include <linux/config.h>
#include <asm/ppc_asm.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
 * The routines below are in assembler so we can closely control the
+0 −5
Original line number Original line Diff line number Diff line
@@ -13,11 +13,6 @@
#include <asm/errno.h>
#include <asm/errno.h>
#include <asm/ppc_asm.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"
	.section __ex_table,"a"
#ifdef CONFIG_PPC64
#ifdef CONFIG_PPC64
	.align	3
	.align	3
Loading