Browse Source

[IA64] MAX_PGT_FREES_PER_PASS must be 'L' to avoid warning

'min' is very picky about types of arguments, make it happy

Signed-off-by: Tony Luck <tony.luck@intel.com>
Tony Luck 20 năm trước cách đây
mục cha
commit
e96c9b4779
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      arch/ia64/mm/init.c

+ 1 - 1
arch/ia64/mm/init.c

@@ -57,7 +57,7 @@ struct page *zero_page_memmap_ptr;	/* map entry for zero page */
 EXPORT_SYMBOL(zero_page_memmap_ptr);
 
 #define MIN_PGT_PAGES			25UL
-#define MAX_PGT_FREES_PER_PASS		16
+#define MAX_PGT_FREES_PER_PASS		16L
 #define PGT_FRACTION_OF_NODE_MEM	16
 
 static inline long