kernel/resource.c: mark static variable __initdata
PATCH 1/1 kernel/resource.c: mark static variable __initdata
The address of reserved doesn't escape this function, and I could sure use those extra .0000001% of memory after boot.
Signed-off-by Rasmus Villemoes <[email protected]>
--- kernel/resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/resource.c +1 -1
@@ -1395,7 +1395,7 @@ EXPORT_SYMBOL(__devm_release_region);#define MAXRESERVE 4static int __init reserve_setup (char *str) { -static int reserved; +static int reserved__initdata ;static struct resource reserve[MAXRESERVE ];for (;;) {
Signature · 1 line
2.6.1