提交 ae18c5c6 编写于 作者: A Andrew Morton 提交者: 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: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册