diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-12-22 04:06:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-22 11:55:47 -0500 |
commit | b7f869a2847dfe6f9b0835ca1b24e73bed926d7d (patch) | |
tree | 1bbbc406453ca08385e0199515ad6933c6e30f74 | |
parent | 533ffc289db9f44c0633d3a7b87243b5740b02b2 (diff) |
[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>
-rw-r--r-- | mm/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3553,7 +3553,7 @@ EXPORT_SYMBOL(kmem_cache_zalloc); | |||
3553 | * | 3553 | * |
3554 | * Currently only used for dentry validation. | 3554 | * Currently only used for dentry validation. |
3555 | */ | 3555 | */ |
3556 | int fastcall kmem_ptr_validate(struct kmem_cache *cachep, const void *ptr) | 3556 | int kmem_ptr_validate(struct kmem_cache *cachep, const void *ptr) |
3557 | { | 3557 | { |
3558 | unsigned long addr = (unsigned long)ptr; | 3558 | unsigned long addr = (unsigned long)ptr; |
3559 | unsigned long min_addr = PAGE_OFFSET; | 3559 | unsigned long min_addr = PAGE_OFFSET; |