* [PATCH] softlockup_tick needs to initialize regs
@ 2007-09-14 16:15 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2007-09-14 16:15 UTC (permalink / raw)
To: Andrew Morton, Ingo Molnar; +Cc: LKML
softlockup-improve-debug-output.patch introduces a regs, but fails to
initialize it.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
---
kernel/softlockup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.22/kernel/softlockup.c
===================================================================
--- linux-2.6.22.orig/kernel/softlockup.c 2007-09-02 14:06:00.000000000 -0400
+++ linux-2.6.22/kernel/softlockup.c 2007-09-14 12:05:51.000000000 -0400
@@ -80,7 +80,7 @@ void softlockup_tick(void)
int this_cpu = smp_processor_id();
unsigned long touch_timestamp = per_cpu(touch_timestamp, this_cpu);
unsigned long print_timestamp;
- struct pt_regs *regs;
+ struct pt_regs *regs = get_irq_regs();
unsigned long now;
if (touch_timestamp == 0) {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-09-14 16:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-14 16:15 [PATCH] softlockup_tick needs to initialize regs Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox