From: "Randy.Dunlap" <rddunlap@osdl.org>,
Domen Puncer <domen@coderock.org>
Noone tested that code to see if it really works?
if (!thread)
thread = ll_alloc_task_struct();
-#ifdef CONFIG_SYSRQ
+#ifdef CONFIG_MAGIC_SYSRQ
/*
* The stack must be cleared if you want SYSRQ-T to
* give sensible stack usage information
if (!thread)
thread = ll_alloc_task_struct();
-#ifdef CONFIG_SYSRQ
+#ifdef CONFIG_MAGIC_SYSRQ
/*
* The stack must be cleared if you want SYSRQ-T to
* give sensible stack usage information
static int panic_exit(struct notifier_block *self, unsigned long unused1,
void *unused2)
{
-#ifdef CONFIG_SYSRQ
+#ifdef CONFIG_MAGIC_SYSRQ
handle_sysrq('p', ¤t->thread.regs, NULL, NULL);
#endif
machine_halt();