kernel: kmem_ptr_validate considered harmful
This is a nasty and error prone API. It is no longer used, remove it. Signed-off-by: Nick Piggin <npiggin@kernel.dk>
This commit is contained in:
parent
786a5e15b6
commit
ccd35fb9f4
5 changed files with 1 additions and 99 deletions
|
@ -106,8 +106,6 @@ int kmem_cache_shrink(struct kmem_cache *);
|
|||
void kmem_cache_free(struct kmem_cache *, void *);
|
||||
unsigned int kmem_cache_size(struct kmem_cache *);
|
||||
const char *kmem_cache_name(struct kmem_cache *);
|
||||
int kern_ptr_validate(const void *ptr, unsigned long size);
|
||||
int kmem_ptr_validate(struct kmem_cache *cachep, const void *ptr);
|
||||
|
||||
/*
|
||||
* Please use this macro to create slab caches. Simply specify the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue