Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424481AbWKPUwS (ORCPT ); Thu, 16 Nov 2006 15:52:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1424482AbWKPUwS (ORCPT ); Thu, 16 Nov 2006 15:52:18 -0500 Received: from amsfep17-int.chello.nl ([213.46.243.15]:10074 "EHLO amsfep13-int.chello.nl") by vger.kernel.org with ESMTP id S1424481AbWKPUwR (ORCPT ); Thu, 16 Nov 2006 15:52:17 -0500 Subject: Re: [patch] cpufreq: mark cpufreq_tsc() as core_initcall_sync From: Peter Zijlstra To: Ingo Molnar Cc: Thomas Gleixner , Alan Stern , LKML , Linus Torvalds , john stultz , David Miller , Arjan van de Ven , Andrew Morton , Andi Kleen In-Reply-To: <20061116201531.GA31469@elte.hu> References: <1163707250.10333.24.camel@localhost.localdomain> <20061116201531.GA31469@elte.hu> Content-Type: text/plain Date: Thu, 16 Nov 2006 21:52:12 +0100 Message-Id: <1163710333.28060.1.camel@lappy> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1043 Lines: 34 On Thu, 2006-11-16 at 21:15 +0100, Ingo Molnar wrote: > From: Ingo Molnar > Subject: [patch] cpufreq: mark cpufreq_tsc() as core_initcall_sync > > init_cpufreq_transition_notifier_list() should execute first, which is a > core_initcall, so mark cpufreq_tsc() core_initcall_sync. > > Signed-off-by: Ingo Molnar > > --- linux.orig/arch/x86_64/kernel/tsc.c > +++ linux/arch/x86_64/kernel/tsc.c it seems to want to be arch/x86_64/kernel/time.c > @@ -138,7 +138,11 @@ static int __init cpufreq_tsc(void) > return 0; > } > > -core_initcall(cpufreq_tsc); > +/* > + * init_cpufreq_transition_notifier_list() should execute first, > + * which is a core_initcall, so mark this one core_initcall_sync: > + */ > +core_initcall_sync(cpufreq_tsc); > > #endif > /* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/