public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] - GRU fix for debug option
@ 2008-11-14 20:27 Jack Steiner
  0 siblings, 0 replies; only message in thread
From: Jack Steiner @ 2008-11-14 20:27 UTC (permalink / raw)
  To: akpm, linux-kernel

Enable -D DEBUG in the GRU Makefile if CONFIG_SGI_GRU_DEBUG is selected.

Signed-off-by: Jack Steiner <steiner@sgi.com>


---
 drivers/misc/sgi-gru/Makefile |    4 ++++
 1 file changed, 4 insertions(+)

Index: linux/drivers/misc/sgi-gru/Makefile
===================================================================
--- linux.orig/drivers/misc/sgi-gru/Makefile	2008-11-11 08:31:24.000000000 -0600
+++ linux/drivers/misc/sgi-gru/Makefile	2008-11-12 10:58:53.000000000 -0600
@@ -1,3 +1,7 @@
+ifdef CONFIG_SGI_GRU_DEBUG
+  EXTRA_CFLAGS	+= -DDEBUG
+endif
+
 obj-$(CONFIG_SGI_GRU) := gru.o
 gru-y := grufile.o grumain.o grufault.o grutlbpurge.o gruprocfs.o grukservices.o
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-14 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-14 20:27 [PATCH] - GRU fix for debug option Jack Steiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox