diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-02-25 23:22:19 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-26 17:14:23 (GMT) |
commit | 8cd2c29dd5f04d91dac6ea7f8b9df4ff1b4380ee (patch) | |
tree | 93e289fae6ee92c29c45f74cdafc6a6a11fdc4b7 /arch/x86/kernel/cpu/cpufreq/Kconfig | |
parent | 3a471cbc081b6bf2b58a48db13d734ecd3b0d437 (diff) | |
download | linux-fsl-qoriq-8cd2c29dd5f04d91dac6ea7f8b9df4ff1b4380ee.tar.xz |
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 <arnd@arndb.de>.
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/cpufreq/Kconfig')
0 files changed, 0 insertions, 0 deletions