]> err.no Git - linux-2.6/commitdiff
[IA64] MAX_PGT_FREES_PER_PASS must be 'L' to avoid warning
authorTony Luck <tony.luck@intel.com>
Mon, 25 Apr 2005 20:16:59 +0000 (13:16 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 25 Apr 2005 20:16:59 +0000 (13:16 -0700)
'min' is very picky about types of arguments, make it happy

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/mm/init.c

index 4892be53e227a806ee5e24e00b2c373267028378..547785e3cba2fb3e63a7a9c7dbd10931caf47bba 100644 (file)
@@ -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