x86 msr driver: Misc cpuinit annotations
commit38048983e14c0fb6324175fbaf2be1baa842f5ee
authorSatyam Sharma <satyam@infradead.org>
Thu, 18 Oct 2007 10:06:38 +0000 (18 03:06 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:28 +0000 (18 14:37 -0700)
treec79ceffa9ea209bc9bbd91ba037bd177d372fc0d
parent761bb431908e84d1793c5eb6c2ae2cc4926bed3e
x86 msr driver: Misc cpuinit annotations

msr_class_cpu_callback() can be marked __cpuinit, being the notifier callback
for a __cpuinitdata notifier_block.  So can be marked msr_device_create() too,
called only from the newly-__cpuinit msr_class_cpu_callback() or from
__init-marked msr_init().

Signed-off-by: Satyam Sharma <satyam@infradead.org>
Cc: Andi Kleen <ak@suse.de>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/msr.c