aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/kernel/cpuid.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2015-07-20 18:32:53 +0200
committerIngo Molnar <mingo@kernel.org>2015-07-20 18:57:20 +0200
commit4daa832d99871356f5fdc52372c975e40f73a15e (patch)
treeeb921d5ff30f61ecb2fdebaff4c2dd157e03a5c1 /arch/x86/kernel/cpuid.c
parentLinux 4.2-rc3 (diff)
downloadwireguard-linux-4daa832d99871356f5fdc52372c975e40f73a15e.tar.xz
wireguard-linux-4daa832d99871356f5fdc52372c975e40f73a15e.zip
x86: Drop bogus __ref / __refdata annotations
The __ref / __refdata annotations used to be needed because of referencing functions / variables annotated __cpuinit / __cpuinitdata. But those annotations vanished during the development of v3.11. Therefore most of the __ref / __refdata annotations are not needed anymore. As they may hide legitimate sections mismatches, we better get rid of them. Signed-off-by: Mathias Krause <minipli@googlemail.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1437409973-8927-1-git-send-email-minipli@googlemail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpuid.c')
-rw-r--r--arch/x86/kernel/cpuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpuid.c b/arch/x86/kernel/cpuid.c
index 83741a71558f..bd3507da39f0 100644
--- a/arch/x86/kernel/cpuid.c
+++ b/arch/x86/kernel/cpuid.c
@@ -170,7 +170,7 @@ static int cpuid_class_cpu_callback(struct notifier_block *nfb,
return notifier_from_errno(err);
}
-static struct notifier_block __refdata cpuid_class_cpu_notifier =
+static struct notifier_block cpuid_class_cpu_notifier =
{
.notifier_call = cpuid_class_cpu_callback,
};