projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RISC-V: Stop using LOCAL for the uaccess fixups
[linux-2.6-microblaze.git]
/
arch
/
riscv
/
lib
/
uaccess.S
diff --git
a/arch/riscv/lib/uaccess.S
b/arch/riscv/lib/uaccess.S
index
f29d2ba
..
fceaeb1
100644
(file)
--- a/
arch/riscv/lib/uaccess.S
+++ b/
arch/riscv/lib/uaccess.S
@@
-3,14
+3,12
@@
#include <asm/asm.h>
#include <asm/csr.h>
- .altmacro
.macro fixup op reg addr lbl
- LOCAL _epc
-_epc:
+100:
\op \reg, \addr
.section __ex_table,"a"
.balign RISCV_SZPTR
- RISCV_PTR
_epc
, \lbl
+ RISCV_PTR
100b
, \lbl
.previous
.endm