• K
    Fix virt_to_phys() warnings · 5bfd7560
    Kevin Cernekee 提交于
    These warnings were observed on MIPS32 using 2.6.31-rc1 and gcc-4.2.0:
    
    mm/page_alloc.c: In function 'alloc_pages_exact':
    mm/page_alloc.c:1986: warning: passing argument 1 of 'virt_to_phys' makes pointer from integer without a cast
    
    drivers/usb/mon/mon_bin.c: In function 'mon_alloc_buff':
    drivers/usb/mon/mon_bin.c:1264: warning: passing argument 1 of 'virt_to_phys' makes pointer from integer without a cast
    
    [akpm@linux-foundation.org: fix kernel/perf_counter.c too]
    Signed-off-by: NKevin Cernekee <cernekee@gmail.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    5bfd7560
page_alloc.c 134.8 KB