Commit e3ccf6e3 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds
Browse files

[PATCH] uml: add checkstack support

Make checkstack work for UML.  We need to pass the underlying architecture
name, rather than "um" to
Signed-off-by: default avatarJeff Dike <>
Acked-by: default avatarMatt Mackall <>
Cc: Paolo 'Blaisorblade' Giarrusso <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 53dd2b55
......@@ -1385,9 +1385,13 @@ endif #ifeq ($(config-targets),1)
endif #ifeq ($(mixed-targets),1)
PHONY += checkstack kernelrelease kernelversion
# Use $(SUBARCH) here instead of $(ARCH) so that this works for UML.
# In the UML case, $(SUBARCH) is the name of the underlying
# architecture, while for all other arches, it is the same as $(ARCH).
$(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \
$(PERL) $(src)/scripts/ $(ARCH)
$(PERL) $(src)/scripts/ $(SUBARCH)
$(if $(wildcard include/config/kernel.release), $(Q)echo $(KERNELRELEASE), \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment