android_kernel_xiaomi_sdm845/arch/ppc64
Stephen Rothwell 8f80e5c911 [PATCH] ppc64: fix initialisation of gettimeofday calculations
On PPC64, we keep track of when we need to update jiffies (and the
variables used to calculate the time of day) based on the time base.

If the time base frequence is sufficiently high compared to the
processor clock frequency, then it is possible for the time of day
variables to be corrupted at the time of the first decrementer interrupt
we take.  This became obvious on a legacy iSeries where the time base
frequency is the same as the processor clock.

This one line patch fixes the initialisation so that the time of day
variables and the indicator we use to tell when updates are due are
better synchronised.

Signed-off-by:  Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-25 10:13:42 -07:00
..
boot [PATCH] ppc64: remove unused arch/ppc64/boot/start.c 2005-05-05 22:00:52 -07:00
configs Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [PATCH] ppc64: fix initialisation of gettimeofday calculations 2005-05-25 10:13:42 -07:00
lib Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] ppc64: remove explicit contig_page_data reference 2005-05-05 22:00:52 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xmon [PATCH] ppc-opc NULL noise removal 2005-04-26 07:43:41 -07:00
defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] ppc64: enable CONFIG_RTAS_PROC by default 2005-05-06 22:09:27 -07:00
Kconfig.debug [PATCH] ppc64: add missing Kconfig help text 2005-05-05 16:36:32 -07:00
Makefile [PATCH] ppc64: fix gcc 4.0 vs CONFIG_ALTIVEC 2005-05-03 07:38:34 -07:00