]> err.no Git - linux-2.6/commit
i386: Misc cpuinit annotations
authorSatyam Sharma <satyam@infradead.org>
Wed, 17 Oct 2007 16:04:36 +0000 (18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:16:00 +0000 (20:16 +0200)
commit761c4bf821b67334e2391ef968396069b91801b7
tree03728cbb6032fd2047b7ffe2834115154e2e1ef8
parent75e3808b67f88cdd8c531dda3e00deb3623a3dac
i386: 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().

[ tglx: arch/x86 adaptation ]

Signed-off-by: Satyam Sharma <satyam@infradead.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/msr.c