diff options
author | Barry Naujok <bnaujok@sgi.com> | 2008-05-21 18:38:40 +1000 |
---|---|---|
committer | Niv Sardi <xaiki@debian.org> | 2008-07-28 16:58:43 +1000 |
commit | d3689d7687dbbc46c5004557d53349f6952fbc93 (patch) | |
tree | a3434177bebc4f6834ae64f6cd519c9d4da379b0 /fs/xfs/linux-2.6/kmem.c | |
parent | 189f4bf22bdc3c2402b038016d11fd3cb1c89f07 (diff) | |
download | op-kernel-dev-d3689d7687dbbc46c5004557d53349f6952fbc93.zip op-kernel-dev-d3689d7687dbbc46c5004557d53349f6952fbc93.tar.gz |
[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.c')
-rw-r--r-- | fs/xfs/linux-2.6/kmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/kmem.c b/fs/xfs/linux-2.6/kmem.c index 69233a5..1cd3b55 100644 --- a/fs/xfs/linux-2.6/kmem.c +++ b/fs/xfs/linux-2.6/kmem.c @@ -90,7 +90,7 @@ kmem_zalloc_greedy(size_t *size, size_t minsize, size_t maxsize, } void -kmem_free(void *ptr) +kmem_free(const void *ptr) { if (!is_vmalloc_addr(ptr)) { kfree(ptr); @@ -100,7 +100,7 @@ kmem_free(void *ptr) } void * -kmem_realloc(void *ptr, size_t newsize, size_t oldsize, +kmem_realloc(const void *ptr, size_t newsize, size_t oldsize, unsigned int __nocast flags) { void *new; |