1. 06 Mar, 2008 14 commits
    • Paul Mundt's avatar
      sh: Fix up the sh64 build. · 7b9726a7
      Paul Mundt authored
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      7b9726a7
    • Paul Mundt's avatar
      sh: Fix up SH7710 VoIP-GW build. · e7d7deca
      Paul Mundt authored
      The only board-specific bits that existed here were for setting up the
      IRQs, which are now handled by the SH7710 CPU support code instead. As
      there's nothing else to do for setup, kill off the board support code
      and have the defconfig use the generic machvec instead.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      e7d7deca
    • Paul Mundt's avatar
      sh: Flag PMB support as EXPERIMENTAL. · 2af8b3b6
      Paul Mundt authored
      There's still work that needs to be done here, and this should not be
      enabled by default on existing boards.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      2af8b3b6
    • Paul Mundt's avatar
      sh: Update r7780mp defconfig. · 149b91e1
      Paul Mundt authored
      This disables the PMB/32BIT=y by default in r7780mp, as turning this on
      presently results in build errors (for an admittedly experimental
      feature).
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      149b91e1
    • Paul Mundt's avatar
      fb: hitfb: Balance probe/remove section annotations. · 0f8afa7c
      Paul Mundt authored
      hitfb presently has probe using __init whilst remove uses __devexit.
      As this device can't possibly be hotplugged, switch to __exit and
      __exit_p() instead.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      0f8afa7c
    • Paul Mundt's avatar
      sh: hp6xx: Fix up hp6xx_apm build failure. · dd4f99b4
      Paul Mundt authored
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      dd4f99b4
    • Paul Mundt's avatar
      fb: pvr2fb: Fix up remaining section mismatch. · fcb1fec7
      Paul Mundt authored
      Building with CONFIG_DEBUG_SECTION_MISMATCH=y reports:
      
        CC      drivers/video/pvr2fb.o
        LD      drivers/video/built-in.o
      WARNING: drivers/video/built-in.o(.text+0xb9b0): Section mismatch in reference from the function pvr2fb_check_var() to the variable .devinit.data:pvr2_fix
      The function pvr2fb_check_var() references
      the variable __devinitdata pvr2_fix.
      This is often because pvr2fb_check_var lacks a __devinitdata
      annotation or the annotation of pvr2_fix is wrong.
      
      This is obviously crap as no such reference exists, but it's a bit
      closer to reality from older versions which blamed the PCI table. The
      real problem was a reference to pvr2_var.vmode from pvr2fb_check_var(),
      as pvr2_var is flagged as __devinitdata (pvr2_fix is also, so at least
      that part is right).
      
      pvr2_var.vmode is just a fancy way of saying FB_VMODE_NONINTERLACED, so
      we just reference that explicitly instead.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      fcb1fec7
    • Paul Mundt's avatar
      sh: Fix up section mismatches. · b2839ed8
      Paul Mundt authored
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      b2839ed8
    • Kristoffer Ericson's avatar
      sh: hp6xx: Correct APM output. · 8b03c040
      Kristoffer Ericson authored
      This patch fixes the old non-verbose hp6xx apm code and enables some
      very basic apm output.  We now get percentage (battery) output
      and basic time estimate.
      Signed-off-by: default avatarKristoffer Ericson <kristoffer.ericson@gmail.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      8b03c040
    • goda.yusuke's avatar
      sh: update se7780 defconfig · 56546b18
      goda.yusuke authored
      This patch updates se7780_defconfig
      Signed-off-by: default avatarYusuke Goda <goda.yusuke@renesas.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      56546b18
    • Harvey Harrison's avatar
      sh: replace remaining __FUNCTION__ occurrences · 866e6b9e
      Harvey Harrison authored
      __FUNCTION__ is gcc-specific, use __func__
      Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      866e6b9e
    • Andrew Morton's avatar
      sh: export copy-page() to modules · ad0caae0
      Andrew Morton authored
      ERROR: "copy_page" [fs/unionfs/unionfs.ko] undefined!
      
      like all the other architectures.
      
      Cc: Erez Zadok <ezk@cs.sunysb.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      ad0caae0
    • Adrian Bunk's avatar
      sh_ksyms_32.c update for gcc 4.3 · 4bee4ca2
      Adrian Bunk authored
      This patch fixes the following build error with landisk_defconfig when
      using gcc 4.3:
      
      <--  snip  -->
      
      ...
        MODPOST 50 modules
      ERROR: "__udivsi3_i4i" [net/sunrpc/sunrpc.ko] undefined!
      ERROR: "__udivsi3_i4i" [net/appletalk/appletalk.ko] undefined!
      ERROR: "__udivsi3_i4i" [fs/ufs/ufs.ko] undefined!
      ERROR: "__udivsi3_i4i" [fs/ntfs/ntfs.ko] undefined!
      ERROR: "__sdivsi3_i4i" [fs/ntfs/ntfs.ko] undefined!
      ERROR: "__udivsi3_i4i" [fs/nfsd/nfsd.ko] undefined!
      ERROR: "__sdivsi3_i4i" [fs/nfsd/nfsd.ko] undefined!
      ERROR: "__udivsi3_i4i" [fs/nfs/nfs.ko] undefined!
      ERROR: "__udivsi3_i4i" [fs/lockd/lockd.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/usb/storage/usb-storage.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/usb/serial/pl2303.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/usb/serial/pl2303.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/usb/serial/ftdi_sio.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/usb/misc/sisusbvga/sisusbvga.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/usb/misc/sisusbvga/sisusbvga.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/media/video/v4l1-compat.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/v4l1-compat.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/usbvideo/vicam.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/media/video/usbvideo/usbvideo.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/usbvideo/usbvideo.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/media/video/sn9c102/sn9c102.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/sn9c102/sn9c102.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/se401.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/pwc/pwc.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/md/raid0.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/md/md-mod.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/md/md-mod.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/md/linear.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/hid/usbhid/usbhid.ko] undefined!
      make[2]: *** [__modpost] Error 1
      
      <--  snip  -->
      Signed-off-by: default avatarAdrian Bunk <adrian.bunk@movial.fi>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      4bee4ca2
    • Adrian Bunk's avatar
      sh/mm/pg-sh7705.c must #include <linux/fs.h> · c31f2f3d
      Adrian Bunk authored
      This patch fixes the following compile error:
      
      <--  snip  -->
      
      ...
        CC      arch/sh/mm/pg-sh7705.o
      /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/pg-sh7705.c: In function 'ptep_get_and_clear':
      /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/pg-sh7705.c:130: error: implicit declaration of function 'mapping_writably_mapped'
      make[2]: *** [arch/sh/mm/pg-sh7705.o] Error 1
      
      <--  snip  -->
      Signed-off-by: default avatarAdrian Bunk <adrian.bunk@movial.fi>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      c31f2f3d
  2. 05 Mar, 2008 26 commits