]> git.ipfire.org Git - people/ms/linux.git/commitdiff
s390/nospec: remove unneeded header includes
authorVasily Gorbik <gor@linux.ibm.com>
Mon, 27 Jun 2022 12:50:56 +0000 (14:50 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 13 Jul 2022 13:21:55 +0000 (15:21 +0200)
Commit 4efd417f298b ("s390: raise minimum supported machine generation
to z10") removed the usage of alternatives and lowcore in expolines
macros. Remove unneeded header includes as well.

With that, expoline.S doesn't require asm-offsets.h and
expoline_prepare target dependency could be removed.

Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Link: https://lore.kernel.org/r/patch-2.thread-d13b6c.git-d13b6c96fb5f.your-ad-here.call-01656331067-ext-4899@work.hours
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/Makefile
arch/s390/include/asm/nospec-insn.h

index fc72a35a1f074208d6da0ae80ed56bb1b2f485fe..4cb5d17e7ead620ee1a84db0347cf68f18a009c9 100644 (file)
@@ -166,7 +166,7 @@ vdso_prepare: prepare0
 
 ifdef CONFIG_EXPOLINE_EXTERN
 modules_prepare: expoline_prepare
-expoline_prepare: prepare0
+expoline_prepare:
        $(Q)$(MAKE) $(build)=arch/s390/lib/expoline arch/s390/lib/expoline/expoline.o
 endif
 endif
index d910d71b5bb50e72df5def006d748ee2b23614cb..7e9e99523e952517a55859651fd36ea3ccb12f5d 100644 (file)
@@ -2,8 +2,6 @@
 #ifndef _ASM_S390_NOSPEC_ASM_H
 #define _ASM_S390_NOSPEC_ASM_H
 
-#include <asm/alternative-asm.h>
-#include <asm/asm-offsets.h>
 #include <asm/dwarf.h>
 
 #ifdef __ASSEMBLY__