mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-01 03:22:08 +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
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user