Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06027bdd authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds
Browse files

[PATCH] hrtimer: round up relative start time on low-res arches



CONFIG_TIME_LOW_RES is a temporary way for architectures to signal that
they simply return xtime in do_gettimeoffset().  In this corner-case we
want to round up by resolution when starting a relative timer, to avoid
short timeouts.  This will go away with the GTOD framework.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e35a6619
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -25,6 +25,10 @@ config GENERIC_HARDIRQS
	bool
	default n

config TIME_LOW_RES
	bool
	default y

mainmenu "Fujitsu FR-V Kernel Configuration"

source "init/Kconfig"
+4 −0
Original line number Diff line number Diff line
@@ -33,6 +33,10 @@ config GENERIC_CALIBRATE_DELAY
	bool
	default y

config TIME_LOW_RES
	bool
	default y

config ISA
	bool
	default y
+4 −0
Original line number Diff line number Diff line
@@ -21,6 +21,10 @@ config GENERIC_CALIBRATE_DELAY
	bool
	default y

config TIME_LOW_RES
	bool
	default y

config ARCH_MAY_HAVE_PC_FDC
	bool
	depends on Q40 || (BROKEN && SUN3X)
+4 −0
Original line number Diff line number Diff line
@@ -29,6 +29,10 @@ config GENERIC_CALIBRATE_DELAY
	bool
	default y

config TIME_LOW_RES
	bool
	default y

source "init/Kconfig"

menu "Processor type and features"
+5 −0
Original line number Diff line number Diff line
@@ -29,6 +29,11 @@ config GENERIC_CALIBRATE_DELAY
	bool
	default y

config TIME_LOW_RES
	bool
	depends on SMP
	default y

config GENERIC_ISA_DMA
	bool

Loading