2005-01-25 13:08:27

by Zdenek Pavlas

[permalink] [raw]
Subject: initramfs: move inode hash table to __initdata

No need to waste 128B of kmem.

--- linux-2.6.10/init/initramfs.c.orig
+++ linux-2.6.10/init/initramfs.c
@@ -25,9 +25,9 @@
}

/* link hash */

-static struct hash {
+static __initdata struct hash {
int ino, minor, major;
struct hash *next;
char *name;
} *head[32];

--
Zdenek Pavlas