[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-c5fcdbf15523f6bbbaeb822e3be6003e60f9d3b7@git.kernel.org>
Date: Tue, 3 Jul 2018 00:52:44 -0700
From: tip-bot for Masahiro Yamada <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: hpa@...or.com, yamada.masahiro@...ionext.com, peterz@...radead.org,
luto@...nel.org, tglx@...utronix.de, mingo@...nel.org,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org
Subject: [tip:x86/asm] x86/build/vdso: Simplify 'cmd_vdso2c'
Commit-ID: c5fcdbf15523f6bbbaeb822e3be6003e60f9d3b7
Gitweb: https://git.kernel.org/tip/c5fcdbf15523f6bbbaeb822e3be6003e60f9d3b7
Author: Masahiro Yamada <yamada.masahiro@...ionext.com>
AuthorDate: Tue, 3 Jul 2018 10:50:14 +0900
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Tue, 3 Jul 2018 09:20:08 +0200
x86/build/vdso: Simplify 'cmd_vdso2c'
No reason to use 'define' directive here. Just use the = operator.
Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Link: http://lkml.kernel.org/r/1530582614-5173-3-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/x86/entry/vdso/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile
index 261802b1cc50..b9ed1aa53a26 100644
--- a/arch/x86/entry/vdso/Makefile
+++ b/arch/x86/entry/vdso/Makefile
@@ -58,9 +58,7 @@ HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi -I$(src
hostprogs-y += vdso2c
quiet_cmd_vdso2c = VDSO2C $@
-define cmd_vdso2c
- $(obj)/vdso2c $< $(<:%.dbg=%) $@
-endef
+ cmd_vdso2c = $(obj)/vdso2c $< $(<:%.dbg=%) $@
$(obj)/vdso-image-%.c: $(obj)/vdso%.so.dbg $(obj)/vdso%.so $(obj)/vdso2c FORCE
$(call if_changed,vdso2c)
Powered by blists - more mailing lists