Messages in this thread Patch in this message | | | Date | Fri, 14 Nov 2008 14:27:57 -0600 | From | Jack Steiner <> | Subject | [PATCH] - GRU fix for debug option |
| |
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
| |