27 Oct, 2009

2 commits


26 Oct, 2009

2 commits


19 Oct, 2009

1 commit


30 Sep, 2009

1 commit

  • ERROR: "__movmem" [net/irda/irda.ko] undefined!
    ERROR: "__movmem" [fs/nfsd/nfsd.ko] undefined!
    ERROR: "__movmem" [fs/lockd/lockd.ko] undefined!
    ERROR: "__movmem" [crypto/sha1_generic.ko] undefined!

    Signed-off-by: Lubomir Rintel
    Signed-off-by: Paul Mundt

    Lubomir Rintel
     

27 Jul, 2009

1 commit

  • This wires up clear_user_highpage() on SH-4 and subsequently converts the
    SH7705 32kB cache mode over to using it. Now that the SH-4 implementation
    handles all of the dcache purging directly in the aliasing case, there is
    no need to do this in the default clear_page() implementation.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

11 Jul, 2009

2 commits


22 May, 2009

1 commit


03 May, 2009

1 commit


22 Dec, 2008

3 commits


31 Oct, 2008

1 commit


28 Oct, 2008

1 commit

  • Presently there is very little standing in the way of using an SH-4
    toolchain for building an SH-2 kernel, and vice versa. Binutils itself
    has no limitations whatsoever and supports explicit ISA hinting, which
    we already use with varying degrees of success today.

    This leaves GCC as the odd one out, due to a rather dubious policy
    decision by the GCC folks to not include all of the CPU family variants
    in the default list of multilib targets in GCC4. Despite best efforts to
    the contrary, libgcc itself already contains awareness of the various CPU
    types and remains generally usable, allowing it to safely be referenced
    even on a mismatched target (and indeed, explicit ISA tuning by binutils
    keeps us honest in terms of ensuring that we do not link incompatible
    objects in).

    In order to support this, a couple of changes had to be made. Firstly,
    the introduction of MAYBE_DECLARE_EXPORT(), which provides a __weak
    extern reference for libgcc resident routines when finer-grained
    -m based tuning is not supported by the toolchain. This
    fixes up the __sdivsi3_i4i and __udivsi3_i4i references when dealing
    with SH-2 kernels linked with an SH-4 libgcc. Secondly, in case where we
    are unable to find a suitable match for CPU family tuning but still
    have a toolchain that defaults to FP instruction generation, a suitable
    nofpu target must be selected. This is accomplished by selecting the
    first nofpu multilib target supported by the toolchain, which is
    also necessary for selecting the proper libgcc to link against.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

21 Oct, 2008

1 commit


21 Sep, 2008

1 commit


11 Aug, 2008

1 commit

  • rsk7203_defconfig fails to build with the following error:

    ...
    LD .tmp_vmlinux1
    arch/sh/kernel/built-in.o:(__ksymtab+0xb8): undefined reference to `__udivsi3_i4i'
    arch/sh/kernel/built-in.o:(__ksymtab+0xc8): undefined reference to `__sdivsi3_i4i'
    make[1]: *** [.tmp_vmlinux1] Error 1

    That worked with 2.6.26, and these are far less undefined references
    than in the cases where libgcc was missing.

    [ These symbols are not defined on SH-2 versions of libgcc, so we have to
    special case the export there. - Paul ]

    Reported-by: Adrian Bunk
    Signed-off-by: Yoshinori Sato
    Signed-off-by: Paul Mundt

    Yoshinori Sato
     

08 May, 2008

1 commit


17 Apr, 2008

1 commit

  • Semaphores are no longer performance-critical, so a generic C
    implementation is better for maintainability, debuggability and
    extensibility. Thanks to Peter Zijlstra for fixing the lockdep
    warning. Thanks to Harvey Harrison for pointing out that the
    unlikely() was unnecessary.

    Signed-off-by: Matthew Wilcox
    Acked-by: Ingo Molnar

    Matthew Wilcox
     

16 Apr, 2008

1 commit


06 Mar, 2008

2 commits

  • ERROR: "copy_page" [fs/unionfs/unionfs.ko] undefined!

    like all the other architectures.

    Cc: Erez Zadok
    Signed-off-by: Andrew Morton
    Signed-off-by: Paul Mundt

    Andrew Morton
     
  • This patch fixes the following build error with landisk_defconfig when
    using gcc 4.3:

    ...
    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

    Signed-off-by: Adrian Bunk
    Signed-off-by: Paul Mundt

    Adrian Bunk
     

28 Jan, 2008

1 commit