diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-03-27 10:26:05 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-03-28 15:42:01 +1100 |
commit | 2f6f47736310cdf86a75b31d899ce7aae432c1a0 (patch) | |
tree | a0bbb7ee0d1276667d951151efabca1a9c3dd193 /include | |
parent | d9954f7fb95173e6676589b7f1071ebfc4ebb2b4 (diff) |
pid_namespacec-h-simplify-defines-fix
kernel/pid.c:54:1: warning: "BITS_PER_PAGE" redefined
Cc: Raphael S.Carvalho <raphael.scarv@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pid_namespace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pid_namespace.h b/include/linux/pid_namespace.h index e4ae94521e49..8ac32836690e 100644 --- a/include/linux/pid_namespace.h +++ b/include/linux/pid_namespace.h @@ -14,6 +14,7 @@ struct pidmap { }; #define BITS_PER_PAGE (PAGE_SIZE * 8) +#define BITS_PER_PAGE_MASK (BITS_PER_PAGE-1) #define PIDMAP_ENTRIES ((PID_MAX_LIMIT+BITS_PER_PAGE-1)/BITS_PER_PAGE) struct bsd_acct_struct; |