Skip to content

Commit b5b2a02

Browse files
benh-debianhdeller
authored andcommitted
parisc: Delete redundant register definitions in <asm/assembly.h>
We define sp and ipsw in <asm/asmregs.h> using ".reg", and when using current binutils (snapshot 2.40.50.20230611) the definitions in <asm/assembly.h> using "=" conflict with those: arch/parisc/include/asm/assembly.h: Assembler messages: arch/parisc/include/asm/assembly.h:93: Error: symbol `sp' is already defined arch/parisc/include/asm/assembly.h:95: Error: symbol `ipsw' is already defined Delete the duplicate definitions in <asm/assembly.h>. Also delete the definition of gp, which isn't used anywhere. Signed-off-by: Ben Hutchings <benh@debian.org> Cc: stable@vger.kernel.org # v6.0+ Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 858fd16 commit b5b2a02

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/parisc/include/asm/assembly.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@
9090
#include <asm/asmregs.h>
9191
#include <asm/psw.h>
9292

93-
sp = 30
94-
gp = 27
95-
ipsw = 22
96-
9793
/*
9894
* We provide two versions of each macro to convert from physical
9995
* to virtual and vice versa. The "_r1" versions take one argument

0 commit comments

Comments
 (0)