===========================================================================
fs/xfs/linux-2.6/kmem.c
===========================================================================
--- a/fs/xfs/linux-2.6/kmem.c 2008-05-21 18:06:48.000000000 +1000
+++ b/fs/xfs/linux-2.6/kmem.c 2008-05-21 18:04:44.400231547 +1000
@@ -90,7 +90,7 @@ kmem_zalloc_greedy(size_t *size, size_t
}
void
-kmem_free(void *ptr)
+kmem_free(const void *ptr)
{
if (((unsigned long)ptr < VMALLOC_START) ||
((unsigned long)ptr >= VMALLOC_END)) {
===========================================================================
fs/xfs/linux-2.6/kmem.h
===========================================================================
--- a/fs/xfs/linux-2.6/kmem.h 2008-05-21 18:06:48.000000000 +1000
+++ b/fs/xfs/linux-2.6/kmem.h 2008-05-21 18:05:33.673925302 +1000
@@ -58,7 +58,7 @@ extern void *kmem_alloc(size_t, unsigned
extern void *kmem_zalloc(size_t, unsigned int __nocast);
extern void *kmem_zalloc_greedy(size_t *, size_t, size_t, unsigned int
__nocast);
extern void *kmem_realloc(void *, size_t, size_t, unsigned int __nocast);
-extern void kmem_free(void *);
+extern void kmem_free(const void *);
/*
* Zone interfaces
|