Skip to content

Commit 1f57d5d

Browse files
author
Ingo Molnar
committed
x86/asm/entry: Move the arch/x86/syscalls/ definitions to arch/x86/entry/syscalls/
The build time generated syscall definitions are entry code related, move them into the arch/x86/entry/ directory. Cc: Borislav Petkov <bp@alien8.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: Brian Gerst <brgerst@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent d36f947 commit 1f57d5d

File tree

7 files changed

+4
-4
lines changed

7 files changed

+4
-4
lines changed

arch/x86/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ archscripts: scripts_basic
181181
# Syscall table generation
182182

183183
archheaders:
184-
$(Q)$(MAKE) $(build)=arch/x86/syscalls all
184+
$(Q)$(MAKE) $(build)=arch/x86/entry/syscalls all
185185

186186
archprepare:
187187
ifeq ($(CONFIG_KEXEC_FILE),y)

arch/x86/syscalls/Makefile renamed to arch/x86/entry/syscalls/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
out := $(obj)/../include/generated/asm
2-
uapi := $(obj)/../include/generated/uapi/asm
1+
out := $(obj)/../../include/generated/asm
2+
uapi := $(obj)/../../include/generated/uapi/asm
33

44
# Create output directory if not already present
55
_dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)') \
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

scripts/checksyscalls.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,5 +212,5 @@ EOF
212212
)
213213
}
214214

215-
(ignore_list && syscall_list $(dirname $0)/../arch/x86/syscalls/syscall_32.tbl) | \
215+
(ignore_list && syscall_list $(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl) | \
216216
$* -E -x c - > /dev/null

0 commit comments

Comments
 (0)