diff options
| author | Borislav Petkov <[email protected]> | 2012-02-03 19:18:01 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2012-02-22 12:36:30 +0000 |
| commit | 3f806e50981825fa56a7f1938f24c0680816be45 (patch) | |
| tree | fc3e2acd092e72d3fe8255bc938e631adaca3860 /lib/string_helpers.c | |
| parent | x86: Specify a size for the cmp in the NMI handler (diff) | |
| download | kernel-3f806e50981825fa56a7f1938f24c0680816be45.tar.gz kernel-3f806e50981825fa56a7f1938f24c0680816be45.zip | |
x86/mce/AMD: Fix UP build error
141168c36cde ("x86: Simplify code by removing a !SMP #ifdefs
from 'struct cpuinfo_x86'") removed a bunch of CONFIG_SMP ifdefs
around code touching struct cpuinfo_x86 members but also caused
the following build error with Randy's randconfigs:
mce_amd.c:(.cpuinit.text+0x4723): undefined reference to `cpu_llc_shared_map'
Restore the #ifdef in threshold_create_bank() which creates
symlinks on the non-BSP CPUs.
There's a better patch series being worked on by Kevin Winchester
which will solve this in a cleaner fashion, but that series is
too ambitious for v3.3 merging - so we first queue up this trivial
fix and then do the rest for v3.4.
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Kevin Winchester <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Nick Bowler <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
