diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-12-22 10:06:44 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-22 17:55:47 +0100 |
commit | b7f869a2847dfe6f9b0835ca1b24e73bed926d7d (patch) | |
tree | 1bbbc406453ca08385e0199515ad6933c6e30f74 /mm/slab.c | |
parent | [PATCH] rtc warning fix (diff) | |
download | linux-b7f869a2847dfe6f9b0835ca1b24e73bed926d7d.tar.xz linux-b7f869a2847dfe6f9b0835ca1b24e73bed926d7d.zip |
[PATCH] slab: fix kmem_ptr_validate definition
The declaration of kmem_ptr_validate in slab.h does not match the
one in slab.c. Remove the fastcall attribute (this is the only use in
slab.c).
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r-- | mm/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c index 909975f6e090..176037bcc66a 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -3553,7 +3553,7 @@ EXPORT_SYMBOL(kmem_cache_zalloc); * * Currently only used for dentry validation. */ -int fastcall kmem_ptr_validate(struct kmem_cache *cachep, const void *ptr) +int kmem_ptr_validate(struct kmem_cache *cachep, const void *ptr) { unsigned long addr = (unsigned long)ptr; unsigned long min_addr = PAGE_OFFSET; |