mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
[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>
This commit is contained in:
parent
533ffc289d
commit
b7f869a284
1 changed files with 1 additions and 1 deletions
|
@ -3553,7 +3553,7 @@ EXPORT_SYMBOL(kmem_cache_zalloc);
|
||||||
*
|
*
|
||||||
* Currently only used for dentry validation.
|
* 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 addr = (unsigned long)ptr;
|
||||||
unsigned long min_addr = PAGE_OFFSET;
|
unsigned long min_addr = PAGE_OFFSET;
|
||||||
|
|
Loading…
Reference in a new issue