summaryrefslogtreecommitdiff
path: root/fs/xfs/linux-2.6/kmem.h
diff options
context:
space:
mode:
authorBarry Naujok <bnaujok@sgi.com>2008-05-21 12:38:40 +0400
committerNiv Sardi <xaiki@debian.org>2008-07-28 10:58:43 +0400
commitd3689d7687dbbc46c5004557d53349f6952fbc93 (patch)
treea3434177bebc4f6834ae64f6cd519c9d4da379b0 /fs/xfs/linux-2.6/kmem.h
parent189f4bf22bdc3c2402b038016d11fd3cb1c89f07 (diff)
downloadlinux-d3689d7687dbbc46c5004557d53349f6952fbc93.tar.xz
[XFS] kmem_free and kmem_realloc to use const void *
SGI-PV: 981498 SGI-Modid: xfs-linux-melb:xfs-kern:31212a Signed-off-by: Barry Naujok <bnaujok@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs/xfs/linux-2.6/kmem.h')
-rw-r--r--fs/xfs/linux-2.6/kmem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/kmem.h b/fs/xfs/linux-2.6/kmem.h
index a3c96207e60e..af6843c7ee4b 100644
--- a/fs/xfs/linux-2.6/kmem.h
+++ b/fs/xfs/linux-2.6/kmem.h
@@ -57,8 +57,8 @@ kmem_flags_convert(unsigned int __nocast flags)
extern void *kmem_alloc(size_t, unsigned int __nocast);
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_realloc(const void *, size_t, size_t, unsigned int __nocast);
+extern void kmem_free(const void *);
/*
* Zone interfaces