diff options
-rw-r--r-- | arch/x86/kernel/msr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c index c044de310b69..df85c9c13601 100644 --- a/arch/x86/kernel/msr.c +++ b/arch/x86/kernel/msr.c | |||
@@ -133,7 +133,7 @@ static const struct file_operations msr_fops = { | |||
133 | .open = msr_open, | 133 | .open = msr_open, |
134 | }; | 134 | }; |
135 | 135 | ||
136 | static int msr_device_create(int i) | 136 | static int __cpuinit msr_device_create(int i) |
137 | { | 137 | { |
138 | int err = 0; | 138 | int err = 0; |
139 | struct device *dev; | 139 | struct device *dev; |
@@ -144,7 +144,7 @@ static int msr_device_create(int i) | |||
144 | return err; | 144 | return err; |
145 | } | 145 | } |
146 | 146 | ||
147 | static int msr_class_cpu_callback(struct notifier_block *nfb, | 147 | static int __cpuinit msr_class_cpu_callback(struct notifier_block *nfb, |
148 | unsigned long action, void *hcpu) | 148 | unsigned long action, void *hcpu) |
149 | { | 149 | { |
150 | unsigned int cpu = (unsigned long)hcpu; | 150 | unsigned int cpu = (unsigned long)hcpu; |