: c-r4k.c, printing longs as longs
PATCH 1/1 : c-r4k.c, printing longs as longs
Hi
printing a long as a int is a bad idea :(
Later, Juan.
Index: arch/mips/mm/c-r4k.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/mm/c-r4k.c,v
retrieving revision 1.3.2.13
mips/mm/c-r4k.c +2 -2
@@ -1107,7 +1107,7 @@ } ic_lsize =16 << ((config >>5 ) &1 ); -printk ("Primary instruction cache %dkb, linesize %ld bytes.\n" , +printk ("Primary instruction cache %ldkb, linesize %ld bytes.\n" , icache_size >>10 , ic_lsize); }
@@ -1129,7 +1129,7 @@ } dc_lsize =16 << ((config >>4 ) &1 ); -printk ("Primary data cache %dkb, linesize %ld bytes.\n" , +printk ("Primary data cache %ldkb, linesize %ld bytes.\n" , dcache_size >>10 , dc_lsize); }
Signature · 2 lines
In theory, practice and theory are the same, but in practice they are different -- Larry McVoy