From c44ce7791912e13ae045c04281f6a41feda0ff9d Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 3 Feb 2004 18:46:00 -0800 Subject: [PATCH] [PATCH] janitor: change a few SYSRQ to MAGIC_SYSRQ 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 --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 84508f21ff68f..863c4076daad9 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -264,7 +264,7 @@ struct thread_info *alloc_thread_info(struct task_struct *task) 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 --git a/arch/arm26/kernel/process.c b/arch/arm26/kernel/process.c index d55c789e6da76..09a2f52ad8a83 100644 --- a/arch/arm26/kernel/process.c +++ b/arch/arm26/kernel/process.c @@ -257,7 +257,7 @@ struct thread_info *alloc_thread_info(struct task_struct *task) 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 --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 445d143f2e9b9..e8f0cacc1f416 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -376,7 +376,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(); -- 2.53.0