Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c481887f2b74f87f714e2b76b8b834e57912bd0a
Commit:     c481887f2b74f87f714e2b76b8b834e57912bd0a
Parent:     d7cf0edb8f7d53bfc8b5e40893415d48656c0399
Author:     Milton Miller <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 14 15:52:10 2007 +1100
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu Dec 20 16:15:37 2007 +1100

    [POWERPC] init_decrementer_clockevent can be static __init
    
    as its only called from time_init, which is __init.
    
    Also remove unneeded forward declaration.
    
    Signed-off-by: Milton Miller <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/kernel/time.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
index a925a8e..cc82fd6 100644
--- a/arch/powerpc/kernel/time.c
+++ b/arch/powerpc/kernel/time.c
@@ -117,7 +117,6 @@ static struct clock_event_device decrementer_clockevent = {
 };
 
 static DEFINE_PER_CPU(struct clock_event_device, decrementers);
-void init_decrementer_clockevent(void);
 static DEFINE_PER_CPU(u64, decrementer_next_tb);
 
 #ifdef CONFIG_PPC_ISERIES
@@ -836,7 +835,7 @@ static void register_decrementer_clockevent(int cpu)
        clockevents_register_device(dec);
 }
 
-void init_decrementer_clockevent(void)
+static void __init init_decrementer_clockevent(void)
 {
        int cpu = smp_processor_id();
 
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to