lkml.org 
[lkml]   [2006]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] make sysrq_always_enabled_setup() static
On Mon, Dec 11, 2006 at 12:58:07AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.19-rc6-mm2:
>...
> +debug-add-sysrq_always_enabled-boot-option.patch
>...
> Misc updates
>...

This patch makes the needlessly global sysrq_always_enabled_setup()
static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.19-mm1/drivers/char/sysrq.c.old 2006-12-11 17:46:54.000000000 +0100
+++ linux-2.6.19-mm1/drivers/char/sysrq.c 2006-12-11 17:47:01.000000000 +0100
@@ -59,7 +59,7 @@
(__sysrq_enabled & mask);
}

-int __init sysrq_always_enabled_setup(char *str)
+static int __init sysrq_always_enabled_setup(char *str)
{
sysrq_always_enabled = 1;
printk(KERN_INFO "debug: sysrq always enabled.\n");
-
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/

\
 
 \ /
  Last update: 2006-12-11 19:43    [W:0.306 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site