mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
[PATCH] slab: remove SLAB_KERNEL
SLAB_KERNEL is an alias of GFP_KERNEL. 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
54e6ecb239
commit
e94b176609
114 changed files with 164 additions and 165 deletions
|
@ -236,7 +236,7 @@ static struct inode *sock_alloc_inode(struct super_block *sb)
|
|||
{
|
||||
struct socket_alloc *ei;
|
||||
|
||||
ei = kmem_cache_alloc(sock_inode_cachep, SLAB_KERNEL);
|
||||
ei = kmem_cache_alloc(sock_inode_cachep, GFP_KERNEL);
|
||||
if (!ei)
|
||||
return NULL;
|
||||
init_waitqueue_head(&ei->socket.wait);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue