Commit:     38048983e14c0fb6324175fbaf2be1baa842f5ee
Parent:     761bb431908e84d1793c5eb6c2ae2cc4926bed3e
Author:     Satyam Sharma <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 18 03:06:38 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Oct 18 14:37:28 2007 -0700

    x86 msr driver: Misc cpuinit annotations
    msr_class_cpu_callback() can be marked __cpuinit, being the notifier 
    for a __cpuinitdata notifier_block.  So can be marked msr_device_create() 
    called only from the newly-__cpuinit msr_class_cpu_callback() or from
    __init-marked msr_init().
    Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]>
    Cc: Andi Kleen <[EMAIL PROTECTED]>
    Acked-by: H. Peter Anvin <[EMAIL PROTECTED]>
    Cc: Thomas Gleixner <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 arch/x86/kernel/msr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c
index e0d5e82..e18e516 100644
--- a/arch/x86/kernel/msr.c
+++ b/arch/x86/kernel/msr.c
@@ -133,7 +133,7 @@ static const struct file_operations msr_fops = {
        .open = msr_open,
-static int msr_device_create(int cpu)
+static int __cpuinit msr_device_create(int cpu)
        struct device *dev;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to