summaryrefslogtreecommitdiff
path: root/sys/arch/riscv64/include/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/riscv64/include/asm.h')
-rw-r--r--sys/arch/riscv64/include/asm.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/riscv64/include/asm.h b/sys/arch/riscv64/include/asm.h
index 746c35531d0..44ecf69c88d 100644
--- a/sys/arch/riscv64/include/asm.h
+++ b/sys/arch/riscv64/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.3 2022/02/23 07:16:26 jsg Exp $ */
+/* $OpenBSD: asm.h,v 1.4 2022/02/24 07:08:21 guenther Exp $ */
/*
* Copyright (c) 2020 Brian Bamsch <bbamsch@google.com>
@@ -92,11 +92,7 @@
#define EEND(sym)
#ifdef __PIC__
-#ifdef __STDC__
-#define PIC_SYM(x,y) x ## ( ## y ## )
-#else
-#define PIC_SYM(x,y) x/**/(/**/y/**/)
-#endif
+#define PIC_SYM(x,y) x(y)
#else
#define PIC_SYM(x,y) x
#endif