• Andrew Morton's avatar
    [PATCH] gcc-3.4.0 fixes for 2.6.6-rc3 x86_64 kernel · bf434bf2
    Andrew Morton authored
    From: Mikael Pettersson <mikpe@csd.uu.se>
    
    Here are some patches to fix compilation warnings from
    gcc-3.4.0 in the 2.6.6-rc3 x86_64 kernel.
    
    - puts() type conflict in boot/compressed/misc.c:
      rename to putstr(), just like i386 did
    - cast-as-lvalue in ia32_copy_siginfo_from_user():
      use temporary
    - code before declaration in io_apic.c:
      move decl up
    - code before declaration in ioremap.c:
      move existing #ifndef up
    - cast-as-lvalue (tons of them) from UP version of per_cpu():
      merged asm-generic's version
    bf434bf2
percpu.h 1.61 KB