From: H. Peter Anvin Date: Wed, 25 Feb 2009 23:22:19 +0000 (-0800) Subject: compiler-gcc4: conditionalize #error on __KERNEL__ X-Git-Tag: v2.6.30-rc1~655^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cd2c29dd5f04d91dac6ea7f8b9df4ff1b4380ee;p=pandora-kernel.git compiler-gcc4: conditionalize #error on __KERNEL__ Impact: Fix for exported headers We only want to error out on specific gcc versions if we are actually building the kernel, so conditionalize the #if...#error on __KERNEL__. Based on a patchset by Arnd Bergmann . Cc: Arnd Bergmann Signed-off-by: H. Peter Anvin Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed