diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2010-05-25 15:28:58 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-05-25 15:42:21 -0700 |
commit | fe501f1e89cd460793152f500bf25d81d463515b (patch) | |
tree | 7248add786f37427898db0628d539475d985491b /arch/x86/mm/pat_internal.h | |
parent | 0dbdd1bfe0b83798763540111118b78b70792f00 (diff) | |
download | linux-fe501f1e89cd460793152f500bf25d81d463515b.tar.bz2 |
x86, k8: Fix section mismatch for powernowk8_exit()
Fix the following warning:
"WARNING: arch/x86/kernel/built-in.o(.exit.text+0x72):
Section mismatch in reference from the function powernowk8_exit() to the variable .cpuinit.data:cpb_nb
The function __exit powernowk8_exit() references a variable
__cpuinitdata cpb_nb. This is often seen when error handling in the exit
function uses functionality in the init path. The fix is often to remove
the __cpuinitdata annotation of cpb_nb so it may be used outside an init
section."
Cc: <stable@kernel.org>
Reported-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <20100525152858.GA24836@aftab>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/mm/pat_internal.h')
0 files changed, 0 insertions, 0 deletions