Commit e7086e68 authored by Ulrich Drepper's avatar Ulrich Drepper Committed by Linus Torvalds

[PATCH] Add missing __initdata

One of the stack size optimizations introduced a new static variable in
a function marked with __init.  But the variable is not marked
appropriately and so 1k of data is never freed.
parent 171e0205
...@@ -273,7 +273,7 @@ static int __init root_nfs_parse(char *name, char *buf) ...@@ -273,7 +273,7 @@ static int __init root_nfs_parse(char *name, char *buf)
*/ */
static int __init root_nfs_name(char *name) static int __init root_nfs_name(char *name)
{ {
static char buf[NFS_MAXPATHLEN]; static char buf[NFS_MAXPATHLEN] __initdata;
char *cp; char *cp;
/* Set some default values */ /* Set some default values */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment