diff options
author | David Rientjes <rientjes@google.com> | 2013-03-17 15:49:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-20 13:05:00 -0700 |
commit | 6bf083ffc825244992274a23017655caee8e4c58 (patch) | |
tree | e74f39428f6ed033b83b5e1e227d9883669fee7c /arch/s390/kernel/entry64.S | |
parent | d7805638b85ce978f7c0cf1ac49204d4288084f6 (diff) | |
download | lwn-6bf083ffc825244992274a23017655caee8e4c58.tar.gz lwn-6bf083ffc825244992274a23017655caee8e4c58.zip |
perf,x86: fix link failure for non-Intel configs
commit 6c4d3bc99b3341067775efd4d9d13cc8e655fd7c upstream.
Commit 1d9d8639c063 ("perf,x86: fix kernel crash with PEBS/BTS after
suspend/resume") introduces a link failure since
perf_restore_debug_store() is only defined for CONFIG_CPU_SUP_INTEL:
arch/x86/power/built-in.o: In function `restore_processor_state':
(.text+0x45c): undefined reference to `perf_restore_debug_store'
Fix it by defining the dummy function appropriately.
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/kernel/entry64.S')
0 files changed, 0 insertions, 0 deletions