patch-2.1.37 linux/mm/slab.c
Next file: linux/mm/swap.c
Previous file: linux/mm/page_io.c
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Mon May 12 10:35:44 1997
- Orig file:
v2.1.36/linux/mm/slab.c
- Orig date:
Mon Apr 14 16:28:27 1997
diff -u --recursive --new-file v2.1.36/linux/mm/slab.c linux/mm/slab.c
@@ -16,6 +16,7 @@
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
+#include <linux/init.h>
#include <asm/system.h>
#include <asm/cache.h>
@@ -269,8 +270,8 @@
static kmem_cache_t *clock_searchp = &cache_cache;
/* Init an internal cache */
-static void
-kmem_own_cache_init(kmem_cache_t *cachep)
+__initfunc(static void
+kmem_own_cache_init(kmem_cache_t *cachep))
{
unsigned long size, i;
@@ -293,8 +294,8 @@
}
/* Initialisation - setup all internal caches */
-long
-kmem_cache_init(long start, long end)
+__initfunc(long
+kmem_cache_init(long start, long end))
{
/* sanity */
#define kmem_cache_offset(x) ((unsigned long)&((kmem_cache_t *)0)->x)
@@ -319,8 +320,8 @@
}
/* Initialisation - setup general caches */
-void
-kmem_cache_sizes_init(void)
+__initfunc(void
+kmem_cache_sizes_init(void))
{
unsigned long i;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov