--- linux-2.6.32-rc6/Makefile	2012-03-12 18:13:33.844988254 -0400
+++ linux-2.6.32-rc6/Makefile	2012-03-12 18:18:04.704986379 -0400
@@ -567,6 +567,9 @@
 # disable pointer signed / unsigned warnings in gcc 4.0
 KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
 
+# disable the warning/error for unused but set in gcc 4.6
+KBUILD_CFLAGS += $(call cc-option,-Wno-unused-but-set-variable,) 
+
 # disable invalid "can't wrap" optimizations for signed / pointers
 KBUILD_CFLAGS	+= $(call cc-option,-fno-strict-overflow)
 
