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 years ago
parent
commit
e96c9b4779
1 changed files with 1 additions and 1 deletions
  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);
 EXPORT_SYMBOL(zero_page_memmap_ptr);
 
 
 #define MIN_PGT_PAGES			25UL
 #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
 #define PGT_FRACTION_OF_NODE_MEM	16
 
 
 static inline long
 static inline long