All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] [PATCH] UML - support checkstack
@ 2006-08-09 18:15 ` Jeff Dike
  0 siblings, 0 replies; 14+ messages in thread
From: Jeff Dike @ 2006-08-09 18:15 UTC (permalink / raw)
  To: akpm; +Cc: Joern Engel, linux-kernel, user-mode-linux-devel, Matt Mackall

Make checkstack work for UML.  We need to pass the underlying architecture
name, rather than "um" to checkstack.pl.

Signed-off-by: Jeff Dike <jdike@addtoit.com>

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).
 checkstack:
 	$(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \
-	$(PERL) $(src)/scripts/checkstack.pl $(ARCH)
+	$(PERL) $(src)/scripts/checkstack.pl $(SUBARCH)
 
 kernelrelease:
 	$(if $(wildcard include/config/kernel.release), $(Q)echo $(KERNELRELEASE), \


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-08-15 17:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-09 18:15 [uml-devel] [PATCH] UML - support checkstack Jeff Dike
2006-08-09 18:15 ` Jeff Dike
2006-08-10  2:09 ` [uml-devel] " Matt Mackall
2006-08-10  2:09   ` Matt Mackall
2006-08-10  4:22   ` [uml-devel] " Jeff Dike
2006-08-10  4:22     ` Jeff Dike
2006-08-10 16:45     ` [uml-devel] " Matt Mackall
2006-08-10 16:45       ` Matt Mackall
2006-08-15  3:17       ` [uml-devel] " Jeff Dike
2006-08-15  3:17         ` Jeff Dike
2006-08-15 17:57         ` [uml-devel] " Blaisorblade
2006-08-15 17:57           ` Blaisorblade
2006-08-10 11:10 ` Jörn Engel
2006-08-10 11:10   ` Jörn Engel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.