Commit ae18c5c6 authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c: rename PTRS_PER_PAGE

It duplicates the definition in arch/alpha/include/asm/pgtable.h and emits
warnings.

Cc: Andreas Dilger <andreas.dilger@intel.com>
Cc: Peng Tao <tao.peng@emc.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5418ae31
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
****************************************/ ****************************************/
#define PTRS_PER_PAGE (PAGE_CACHE_SIZE / sizeof(void *)) #define POINTERS_PER_PAGE (PAGE_CACHE_SIZE / sizeof(void *))
#define PAGES_PER_POOL (PTRS_PER_PAGE) #define PAGES_PER_POOL (POINTERS_PER_PAGE)
#define IDLE_IDX_MAX (100) #define IDLE_IDX_MAX (100)
#define IDLE_IDX_WEIGHT (3) #define IDLE_IDX_WEIGHT (3)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment