Re: [PATCH] CONFIG_MAGIC_SYSRQ without CONFIG_VT broken in 2.5.26

From: Anders Gustafsson (andersg@0x63.nu)
Date: Fri Jul 19 2002 - 05:52:44 EST


On Fri, Jul 19, 2002 at 09:10:17AM +0100, Russell King wrote:

> @@ -371,7 +371,9 @@
> as 'Off' at init time */
> /* p */ &sysrq_showregs_op,
> /* q */ NULL,
> +#ifdef CONFIG_VT
> /* r */ &sysrq_unraw_op,
> +#endif

Shouldn't that be something more like?

+#ifdef CONFIG_VT
 /* r */ &sysrq_unraw_op,
+#else
+/* r */ NULL,
+#endif

-- 

//anders/g

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:29 EST