diff options
author | David Rientjes <rientjes@google.com> | 2013-03-18 02:49:10 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-03-18 02:59:15 +0400 |
commit | 6c4d3bc99b3341067775efd4d9d13cc8e655fd7c (patch) | |
tree | 5fa3c8d83fb28edbf0dce0633460f999eae1f9ba /block/blk-iopoll.c | |
parent | 2a6e06b2aed6995af401dcd4feb5e79a0c7ea554 (diff) | |
download | linux-6c4d3bc99b3341067775efd4d9d13cc8e655fd7c.tar.xz |
perf,x86: fix link failure for non-Intel configs
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>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/blk-iopoll.c')
0 files changed, 0 insertions, 0 deletions