From: "Randy.Dunlap" , Domen Puncer Noone tested that code to see if it really works? --- arch/arm/kernel/process.c | 2 +- arch/arm26/kernel/process.c | 2 +- arch/um/kernel/um_arch.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff -puN arch/arm26/kernel/process.c~CONFIG_SYSRQ-fixes arch/arm26/kernel/process.c --- 25/arch/arm26/kernel/process.c~CONFIG_SYSRQ-fixes 2004-01-24 23:13:35.000000000 -0800 +++ 25-akpm/arch/arm26/kernel/process.c 2004-01-24 23:13:35.000000000 -0800 @@ -257,7 +257,7 @@ struct thread_info *alloc_thread_info(st 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 diff -puN arch/arm/kernel/process.c~CONFIG_SYSRQ-fixes arch/arm/kernel/process.c --- 25/arch/arm/kernel/process.c~CONFIG_SYSRQ-fixes 2004-01-24 23:13:35.000000000 -0800 +++ 25-akpm/arch/arm/kernel/process.c 2004-01-24 23:13:35.000000000 -0800 @@ -264,7 +264,7 @@ struct thread_info *alloc_thread_info(st 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 diff -puN arch/um/kernel/um_arch.c~CONFIG_SYSRQ-fixes arch/um/kernel/um_arch.c --- 25/arch/um/kernel/um_arch.c~CONFIG_SYSRQ-fixes 2004-01-24 23:13:35.000000000 -0800 +++ 25-akpm/arch/um/kernel/um_arch.c 2004-01-24 23:13:35.000000000 -0800 @@ -392,7 +392,7 @@ int linux_main(int argc, char **argv) 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(); _