summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-05-07 08:15:36 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-07 08:15:36 -0700
commitb7bd1dee9cecddb692740a236f14d6769172acbf (patch)
tree10b33d375642914c3a5ece4ef30cbba468fd5db9 /kernel
parent862fb2829261c21f53e9bcd843c801d4781512a8 (diff)
[PATCH] sysrq-S, sysrq-U cleanups
From: Christoph Hellwig <hch@lst.de> Change sysrq sync/remount from a magic bdflush hook to proper pdflush operations. The sync operation reuses most of the regular sys_sync path now instead of implementing it's own superblock walking and (broken) local disk detection, the remount implementation has been moved to super.c, cleaned up and updated for the last two years locking changes. It also shares some code with the regular remount path now.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/panic.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/panic.c b/kernel/panic.c
index 66a22b5d9c77..80c582d13d4f 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -96,9 +96,8 @@ NORET_TYPE void panic(const char * fmt, ...)
disabled_wait(caller);
#endif
local_irq_enable();
- for(;;) {
- CHECK_EMERGENCY_SYNC
- }
+ for (;;)
+ ;
}
/**