Re: [PATCH] x86 msr driver: Misc cpuinit annotations

2007-08-23 Thread H. Peter Anvin
Satyam Sharma wrote: > 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

[PATCH] x86 msr driver: Misc cpuinit annotations

2007-08-22 Thread Satyam Sharma
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 <[EMAIL PROTECTE