[Top] [All Lists]

Re: [PATCH] Introduce mips_late_time_init

To: Anoop P A <>
Subject: Re: [PATCH] Introduce mips_late_time_init
From: David Daney <>
Date: Mon, 06 Dec 2010 09:42:45 -0800
Cc: Ralf Baechle <>,,
In-reply-to: <1291623812.31822.6.camel@paanoop1-desktop>
Original-recipient: rfc822;
References: <1291623812.31822.6.camel@paanoop1-desktop>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10
On 12/06/2010 12:23 AM, Anoop P A wrote:
This patch moves plat_time_init and clocksoure init funtion calls to

Why would you want to do this?

The current code works perfectly, so I see no reason to change it.

David Daney

Signed-off-by: Anoop P A<>
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
index fb74974..dbd1ac5 100644
--- a/arch/mips/kernel/time.c
+++ b/arch/mips/kernel/time.c
@@ -117,10 +117,16 @@ static __init int cpu_has_mfc0_count_bug(void)
        return 0;

-void __init time_init(void)
+void __init mips_late_time_init(void)

        if (!mips_clockevent_init() || !cpu_has_mfc0_count_bug())
+void __init time_init(void)
+       late_time_init = mips_late_time_init;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

<Prev in Thread] Current Thread [Next in Thread>