[<prev] [next>] [day] [month] [year] [list]
Message-ID: <55500EBA.3010706@windriver.com>
Date: Mon, 11 May 2015 11:06:50 +0900
From: tyeon <tom.yeon@...driver.com>
To: "\"David S. Miller\" <davem@...emloft.net>; Alexey Kuznetsov
<kuznet@....inr.ac.ru>; James Morris <jmorris@...ei.org>; Hideaki
YOSHIFUJI <yoshfuji@...ux-ipv6.org>; Patrick McHardy"
<kaber@...sh.net>
CC: "<netdev@...r.kernel.org>;" <linux-kernel@...r.kernel.org>
Subject: [PATCH] ipconfig : put root_server_path into __initdata section
root_server_path is used only for the __init function.
so, no need to keep this variable in the memory after kernel init.
Signed-off-by: Tom(JeHyeon) Yeon <tom.yeon@...driver.com>
---
net/ipv4/ipconfig.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c
index b26376e..0f1b159 100644
--- a/net/ipv4/ipconfig.c
+++ b/net/ipv4/ipconfig.c
@@ -141,7 +141,7 @@ __be32 ic_addrservaddr = NONE; /* IP Address of the
IP addresses'server */
__be32 ic_servaddr = NONE; /* Boot server IP address */
__be32 root_server_addr = NONE; /* Address of NFS server */
-u8 root_server_path[256] = { 0, }; /* Path to mount as root */
+u8 root_server_path[256] __initdata = { 0, }; /* Path to mount as root */
/* vendor class identifier */
static char vendor_class_identifier[253] __initdata;
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists