--- linux-2.6.32-rc2/Makefile	2012-03-12 18:13:33.834987424 -0400
+++ linux-2.6.32-rc2/Makefile	2012-03-12 18:18:01.823911244 -0400
@@ -609,6 +609,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)
 
