aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/gen/asm-offsets.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64/gen/asm-offsets.c')
-rw-r--r--arch/riscv64/gen/asm-offsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv64/gen/asm-offsets.c b/arch/riscv64/gen/asm-offsets.c
index d78e0ec..6920245 100644
--- a/arch/riscv64/gen/asm-offsets.c
+++ b/arch/riscv64/gen/asm-offsets.c
@@ -3,7 +3,7 @@
/* largely based on linux */
#define DEFINE(sym, val) \
- __asm__ volatile("\n-> " #sym " %0 " #val "\n" ::"i"(val))
+ __asm__ volatile("\n#-> " #sym " %0 " #val "\n" ::"i"(val))
#define OFFSETOF(m, s) DEFINE(offsetof_##m, offsetof(s, m))
#define SIZEOF(n, s) DEFINE(sizeof_##n, sizeof(s))