All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: vdso: remove commas between macro name and arguments
@ 2021-04-16 18:14 ` Jian Cai
  0 siblings, 0 replies; 20+ messages in thread
From: Jian Cai @ 2021-04-16 18:14 UTC (permalink / raw)
  Cc: stable, gregkh, sashal, ndesaulniers, natechancellor, manojgupta,
	llozano, clang-built-linux, Jian Cai, Catalin Marinas,
	Will Deacon, linux-arm-kernel, linux-kernel

LLVM's integrated assembler does not support using commas separating
the name and arguments in .macro. However, only spaces are used in the
manual page. This replaces commas between macro names and the subsequent
arguments with space in calls to clock_gettime_return to make it
compatible with IAS.

Link:
https://sourceware.org/binutils/docs/as/Macro.html#Macro
Signed-off-by: Jian Cai <jiancai@google.com>
---
 arch/arm64/kernel/vdso/gettimeofday.S | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/kernel/vdso/gettimeofday.S b/arch/arm64/kernel/vdso/gettimeofday.S
index 856fee6d3512..7ee685d9adfc 100644
--- a/arch/arm64/kernel/vdso/gettimeofday.S
+++ b/arch/arm64/kernel/vdso/gettimeofday.S
@@ -122,7 +122,7 @@ x_tmp		.req	x8
 9998:
 	.endm
 
-	.macro clock_gettime_return, shift=0
+	.macro clock_gettime_return shift=0
 	.if \shift == 1
 	lsr	x11, x11, x12
 	.endif
@@ -227,7 +227,7 @@ realtime:
 	seqcnt_check fail=realtime
 	get_ts_realtime res_sec=x10, res_nsec=x11, \
 		clock_nsec=x15, xtime_sec=x13, xtime_nsec=x14, nsec_to_sec=x9
-	clock_gettime_return, shift=1
+	clock_gettime_return shift=1
 
 	ALIGN
 monotonic:
@@ -250,7 +250,7 @@ monotonic:
 		clock_nsec=x15, xtime_sec=x13, xtime_nsec=x14, nsec_to_sec=x9
 
 	add_ts sec=x10, nsec=x11, ts_sec=x3, ts_nsec=x4, nsec_to_sec=x9
-	clock_gettime_return, shift=1
+	clock_gettime_return shift=1
 
 	ALIGN
 monotonic_raw:
@@ -271,7 +271,7 @@ monotonic_raw:
 		clock_nsec=x15, nsec_to_sec=x9
 
 	add_ts sec=x10, nsec=x11, ts_sec=x13, ts_nsec=x14, nsec_to_sec=x9
-	clock_gettime_return, shift=1
+	clock_gettime_return shift=1
 
 	ALIGN
 realtime_coarse:
-- 
2.31.1.368.gbe11c130af-goog


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-05-06  1:32 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16 18:14 [PATCH] arm64: vdso: remove commas between macro name and arguments Jian Cai
2021-04-16 18:14 ` Jian Cai
2021-04-16 18:23 ` Jian Cai
2021-04-16 18:23   ` Jian Cai
2021-04-16 19:08 ` Ard Biesheuvel
2021-04-16 19:08   ` Ard Biesheuvel
2021-04-16 20:35 ` [PATCH v2] " Jian Cai
2021-04-16 20:35   ` Jian Cai
2021-04-16 21:40   ` Ard Biesheuvel
2021-04-16 21:40     ` Ard Biesheuvel
2021-04-16 23:23   ` [PATCH v3] " Jian Cai
2021-04-16 23:23     ` Jian Cai
2021-05-05 21:07     ` Nathan Chancellor
2021-05-05 21:07       ` Nathan Chancellor
2021-05-05 21:16       ` Nathan Chancellor
2021-05-05 21:16         ` Nathan Chancellor
2021-05-06  1:03       ` Jian Cai
2021-05-06  1:03         ` Jian Cai
2021-05-06  1:30         ` Jian Cai
2021-05-06  1:30           ` Jian Cai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.