From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: RE: Override timer interrupt From: Benjamin Herrenschmidt To: Rune Torgersen In-Reply-To: References: <20071012213041.GB22894@mag.az.mvista.com> <1192229894.22054.29.camel@pasglop> <1192481753.11795.25.camel@pasglop> Content-Type: text/plain Date: Tue, 16 Oct 2007 07:58:18 +1000 Message-Id: <1192485498.11795.41.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, linuxppc-embedded@ozlabs.org Reply-To: benh@kernel.crashing.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2007-10-15 at 16:50 -0500, Rune Torgersen wrote: > Huh? Not in 2.6.18/arch/ppc at least, unless I'm completely > misundrstanding the code. > ppc/powerpc seems to be using clocksource_jiffies as the clock source, > and teh gettimeofday gets xtime + a offset from last jiffie, and xtime > is updated with a fixed amount per tick. > > Things have changed a lot since I last delved deep into this to try to > ge an accurate freerunning clock (2.6.12). Hrm... 2.6.18 doesn't have clock sources in the first place, what kernel are you using ? Ben.