mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Move magic numbers into magic.h
Move various magic-number definitions into magic.h. Signed-off-by: Nick Black <[email protected]> Acked-by: Pekka Enberg <[email protected]> Cc: Al Viro <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Casey Schaufler <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
af91322ef3
commit
1fd7317d02
5 changed files with 9 additions and 14 deletions
|
|
@ -86,6 +86,7 @@
|
|||
#include <linux/audit.h>
|
||||
#include <linux/wireless.h>
|
||||
#include <linux/nsproxy.h>
|
||||
#include <linux/magic.h>
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/unistd.h>
|
||||
|
|
@ -235,8 +236,6 @@ int move_addr_to_user(struct sockaddr *kaddr, int klen, void __user *uaddr,
|
|||
return __put_user(klen, ulen);
|
||||
}
|
||||
|
||||
#define SOCKFS_MAGIC 0x534F434B
|
||||
|
||||
static struct kmem_cache *sock_inode_cachep __read_mostly;
|
||||
|
||||
static struct inode *sock_alloc_inode(struct super_block *sb)
|
||||
|
|
|
|||
Loading…
Reference in a new issue