summaryrefslogtreecommitdiff
path: root/include/linux/slab.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 23:59:34 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 23:59:34 -0800
commitd0415686774477153ca911a612f74c2d2bb11be6 (patch)
treee5f35894e9ff6c0da29668e5560204fd49db5eb1 /include/linux/slab.h
parent25aa595a676f130148eba073cdd5a8d57e9d238f (diff)
v2.5.1.3 -> v2.5.1.4
- Jens Axboe: more bio updates, fix some request list bogosity under load - Al Viro: export seq_xxx functions - Manfred Spraul: include file cleanups, pc110pad compile fix - David Woodhouse: fix JFFS2 write error handling - Dave Jones: start merging up with 2.4.x patches - Manfred Spraul: coredump fixes, FS event counter cleanups - me: fix SCSI CD-ROM sectorsize BIO breakage
Diffstat (limited to 'include/linux/slab.h')
-rw-r--r--include/linux/slab.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h
index ed4ff483974c..ceff3509f29e 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -11,8 +11,8 @@
typedef struct kmem_cache_s kmem_cache_t;
-#include <linux/mm.h>
-#include <linux/cache.h>
+#include <linux/gfp.h>
+#include <linux/types.h>
/* flags for kmem_cache_alloc() */
#define SLAB_NOFS GFP_NOFS
@@ -64,6 +64,7 @@ extern void kfree(const void *);
extern int FASTCALL(kmem_cache_reap(int));
extern int slabinfo_read_proc(char *page, char **start, off_t off,
int count, int *eof, void *data);
+struct file;
extern int slabinfo_write_proc(struct file *file, const char *buffer,
unsigned long count, void *data);