1. 06 3月, 2008 4 次提交
    • H
      sh: replace remaining __FUNCTION__ occurrences · 866e6b9e
      Harvey Harrison 提交于
      __FUNCTION__ is gcc-specific, use __func__
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      866e6b9e
    • A
      sh: export copy-page() to modules · ad0caae0
      Andrew Morton 提交于
      ERROR: "copy_page" [fs/unionfs/unionfs.ko] undefined!
      
      like all the other architectures.
      
      Cc: Erez Zadok <ezk@cs.sunysb.edu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ad0caae0
    • A
      sh_ksyms_32.c update for gcc 4.3 · 4bee4ca2
      Adrian Bunk 提交于
      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: NAdrian Bunk <adrian.bunk@movial.fi>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4bee4ca2
    • A
      sh/mm/pg-sh7705.c must #include <linux/fs.h> · c31f2f3d
      Adrian Bunk 提交于
      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: NAdrian Bunk <adrian.bunk@movial.fi>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      c31f2f3d
  2. 05 3月, 2008 36 次提交