mirror of https://gitee.com/openkylin/linux.git
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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5418ae3188
commit
ae18c5c625
|
@ -59,8 +59,8 @@
|
|||
****************************************/
|
||||
|
||||
|
||||
#define PTRS_PER_PAGE (PAGE_CACHE_SIZE / sizeof(void *))
|
||||
#define PAGES_PER_POOL (PTRS_PER_PAGE)
|
||||
#define POINTERS_PER_PAGE (PAGE_CACHE_SIZE / sizeof(void *))
|
||||
#define PAGES_PER_POOL (POINTERS_PER_PAGE)
|
||||
|
||||
#define IDLE_IDX_MAX (100)
|
||||
#define IDLE_IDX_WEIGHT (3)
|
||||
|
|
Loading…
Reference in New Issue