[lkml]   [2006]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] UML - support checkstack
Make checkstack work for UML.  We need to pass the underlying architecture
name, rather than "um" to

Signed-off-by: Jeff Dike <>

Index: linux-2.6.18-mm/Makefile
--- linux-2.6.18-mm.orig/Makefile 2006-08-07 13:49:52.000000000 -0400
+++ linux-2.6.18-mm/Makefile 2006-08-07 13:53:34.000000000 -0400
@@ -1315,9 +1315,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), \
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-08-10 03:59    [W:0.067 / U:34.340 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site