From b7bd1dee9cecddb692740a236f14d6769172acbf Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 7 May 2003 08:15:36 -0700 Subject: [PATCH] sysrq-S, sysrq-U cleanups From: Christoph Hellwig 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. --- kernel/panic.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kernel') 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 (;;) + ; } /** -- cgit v1.2.3