02 Mar, 2010
1 commit
-
i8253_lock needs to be a real spinlock in preempt-rt, i.e. it can
not be converted to a sleeping lock.Convert it to raw_spinlock and fix up all users.
Signed-off-by: Thomas Gleixner
Acked-by: Ralf Baechle
Acked-by: Dmitry Torokhov
Acked-by: Takashi Iwai
Cc: Jens Axboe
LKML-Reference:
02 Nov, 2009
1 commit
-
Along the lines of d6c585a4342a2ff627a29f9aea77c5ed4cd76023, add IRQF_TIMER
flag for all timer interrupts This ensures that timer interrupts won't be
disabled on suspend and not threaded for PREEMPT_RT.Signed-off-by: Wu Zhangjin
Acked-by: Thomas Gleixner
Signed-off-by: Ralf Baechle
25 Jun, 2009
1 commit
-
Some of the were relying into smp.h being dragged in by another header
which of course is fragile. uses smp_processor_id()
only in macros and including smp.h there leads to an include loop, so
don't change cpu-info.h.Signed-off-by: Ralf Baechle
22 Apr, 2009
1 commit
-
Pass clocksource pointer to the read() callback for clocksources. This
allows us to share the callback between multiple instances.[hugh@veritas.com: fix powerpc build of clocksource pass clocksource mods]
[akpm@linux-foundation.org: cleanup]
Signed-off-by: Magnus Damm
Acked-by: John Stultz
Cc: Thomas Gleixner
Signed-off-by: Hugh Dickins
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
30 Mar, 2009
1 commit
-
Impact: cleanup
It's unused, since about 1995. So remove all initialization of it in
preparation for actually removing the field.Signed-off-by: Rusty Russell
Acked-by: Thomas Gleixner
13 Dec, 2008
1 commit
-
Impact: change calling convention of existing clock_event APIs
struct clock_event_timer's cpumask field gets changed to take pointer,
as does the ->broadcast function.Another single-patch change. For safety, we BUG_ON() in
clockevents_register_device() if it's not set.Signed-off-by: Rusty Russell
Cc: Ingo Molnar
16 Jul, 2008
1 commit
-
The pit_clockevent symbol is needlessly defined global. This patch makes
that variable static.Spotted by sparse. Compile-tested using Malta defconfig.
Signed-off-by: Dmitri Vorobiev
Signed-off-by: Ralf Baechle
01 Apr, 2008
1 commit
-
This fixes:
ERROR: "i8253_lock" [drivers/input/misc/pcspkr.ko] undefined!
Signed-off-by: Ralf Baechle
30 Jan, 2008
1 commit
-
The timer code always calls the clock_event_device set_net_event and
set_mode methods with interrupts disabled, so no need to use
spin_lock_irqsave / spin_unlock_irqrestore for those.Signed-off-by: Ralf Baechle
Acked-by:Thomas Gleixner
Signed-off-by: Andrew Morton
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner
03 Nov, 2007
2 commits
-
The Jazz machines have to use the PIT timer for dyntick and highresolution
kernels. This may break because currently just like i386 used to do MIPS
uses two separate spinlocks in the actual PIT code and the PC speaker
code. So switch to do it the same that x86 currently does PIT locking.Signed-off-by: Ralf Baechle
Signed-off-by: Linus Torvalds -
Signed-off-by: Ralf Baechle
12 Oct, 2007
1 commit
-
Derived from the i386 variant with a few x86 complexities chopped off.
Signed-off-by: Ralf Baechle
13 Jul, 2007
1 commit
-
While the PC speaker is wired up to the i8254 there is more to the i8254
than just the PC speaker so this code was getting in the way under its
current name.Signed-off-by: Ralf Baechle
14 Mar, 2006
1 commit
-
The current pcspkr code combines the device and driver registration.
This patch splits these, putting the device registration in the arch
specific code.PowerPC and MIPS only have the pcspkr present sometimes.
Signed-off-by: Michael Neuling
Signed-off-by: Ralf Baechle
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov