patch-2.1.44 linux/include/linux/slab.h
Next file: linux/include/linux/sysctl.h
Previous file: linux/include/linux/simp.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Jul 7 16:02:03 1997
- Orig file:
v2.1.43/linux/include/linux/slab.h
- Orig date:
Thu Jun 12 15:28:33 1997
diff -u --recursive --new-file v2.1.43/linux/include/linux/slab.h linux/include/linux/slab.h
@@ -32,7 +32,7 @@
#define SLAB_DEBUG_FREE 0x00000100UL /* Peform (expensive) checks on free */
#define SLAB_DEBUG_INITIAL 0x00000200UL /* Call constructor (as verifier) */
#define SLAB_RED_ZONE 0x00000400UL /* Red zone objs in a cache */
-#define SLAB_POISION 0x00000800UL /* Poision objects */
+#define SLAB_POISON 0x00000800UL /* Poison objects */
#define SLAB_NO_REAP 0x00001000UL /* never reap from the cache */
#define SLAB_HWCACHE_ALIGN 0x00002000UL /* align objs on a h/w cache lines */
#if 0
@@ -56,7 +56,7 @@
extern void kmem_cache_free(kmem_cache_t *, void *);
extern void *kmalloc(size_t, int);
-extern void kfree(void *);
+extern void kfree(const void *);
extern void kfree_s(void *, size_t);
extern int kmem_cache_reap(int, int, int);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov