05 Sep, 2008

2 commits


28 Aug, 2008

6 commits


25 Aug, 2008

2 commits

  • This patch fixes the following compile error caused by
    commit c459dbf294b4a3d70490a468a7ca3907fb2c2f57
    (sh: ptrace single stepping cleanups.):

    ...
    CC arch/sh/kernel/ptrace_64.o
    arch/sh/kernel/ptrace_64.c: In function 'user_disable_single_step':
    arch/sh/kernel/ptrace_64.c:134: error: 'regs' undeclared (first use in this function)
    arch/sh/kernel/ptrace_64.c:134: error: (Each undeclared identifier is reported only once
    arch/sh/kernel/ptrace_64.c:134: error: for each function it appears in.)
    ...
    make[2]: *** [arch/sh/kernel/ptrace_64.o] Error 1

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

    Adrian Bunk
     
  • Commit 42fd3b142d8867f5b58d6fb75592cd20fd654c1b
    (sh: Initial consolidation of the _32/_64 uaccess split.)
    mistakenly removed the sh64 __strnlen_user() prototype,
    resulting in the following compile error:

    ...
    CC init/main.o
    In file included from include/linux/poll.h:13,
    from include/linux/rtc.h:113,
    from include/linux/efi.h:19,
    from init/main.c:43:
    arch/sh/include/asm/uaccess.h: In function 'strnlen_user':
    arch/sh/include/asm/uaccess.h:213: error: implicit declaration of function '__strnlen_user'
    ...
    make[2]: *** [init/main.o] Error 1

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

    Adrian Bunk
     

20 Aug, 2008

1 commit

  • * 'sh/for-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
    sh: Provide a FLAT_PLAT_INIT() definition.
    binfmt_flat: Stub in a FLAT_PLAT_INIT().
    video: export sh_mobile_lcdc panel size
    sh: select memchunk size using kernel cmdline
    sh: export sh7723 VEU as VEU2H
    input: migor_ts compile and detection fix
    sh: remove MSTPCR defines from Migo-R header file
    sh: Update sh7763rdp defconfig
    sh: Add support sh7760fb to sh7763rdp board
    sh: Add support sh_eth to sh7763rdp board
    sh: Disable 64kB hugetlbpage size when using 64kB PAGE_SIZE.
    sh: Don't export __{s,u}divsi3_i4i from SH-2 libgcc.
    fix SH7705_CACHE_32KB compilation
    sh: mach-x3proto: Fix up smc91x platform data.

    Linus Torvalds
     

15 Aug, 2008

1 commit

  • Rename KEXEC_CONTROL_CODE_SIZE to KEXEC_CONTROL_PAGE_SIZE, because control
    page is used for not only code on some platform. For example in kexec
    jump, it is used for data and stack too.

    [akpm@linux-foundation.org: unbreak powerpc and arm, finish conversion]
    Signed-off-by: Huang Ying
    Cc: Pavel Machek
    Cc: "Rafael J. Wysocki"
    Cc: "Eric W. Biederman"
    Cc: Vivek Goyal
    Cc: Ingo Molnar
    Cc: Russell King
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Huang Ying
     

11 Aug, 2008

12 commits

  • SH needs this in order to make sure that r4 has a sane value at process
    entry time, which the libc expects has already been taken care of.

    Fixes random crashes in flat binaries.

    Signed-off-by: Takashi YOSHII
    Signed-off-by: Paul Mundt

    Takashi YOSHII
     
  • Export the LCD panel size for sh_mobile_lcdc boards. This allows us
    to perform dpi and screen aspect ratio calculations in user space.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Allow user to pass parameters on kernel command line to override
    default size for physically contiguous memory buffers. The default
    VPU buffer size is too small for VGA harware encoding, but instead
    of just bumping up the number we allow the user to override the
    default size using the command line. Supports SuperH Mobile hardware
    blocks such as VEU, VPU and CEU.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Export sh7723 VEU hardware blocks as VEU2H. The sh7723 VEU2H differs
    a bit from the sh7722 VEU so use different names for our UIO devices.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Remove MSTPCR register definitions from Migo-R header file. The clock
    frame work should be used instead of direct register access.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Signed-off-by: Nobuhiro Iwamatsu
    Signed-off-by: Paul Mundt

    Nobuhiro Iwamatsu
     
  • Add sh7760fb platform device to sh7763rdp's setup.

    Signed-off-by: Paul Mundt

    Nobuhiro Iwamatsu
     
  • SH7763 has sh_eth device. This patch add sh_eth platform device
    to this board.

    Signed-off-by: Nobuhiro Iwamatsu
    Signed-off-by: Paul Mundt

    Nobuhiro Iwamatsu
     
  • Presently we oops in mm/hugetlb.c:1325, which is the order == 0 test in
    hugetlb_add_hstate() called at initialization time. So, disable 64kB
    huge pages when we're using a 64kB PAGE_SIZE. On most parts this will
    force the default to be 1MB huge pages.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • 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
     
  • This patches compile errors like the following caused by
    commit 51f3547d619956e9b428bfff17004d8f4d259a02
    (sh: Allow SH-3 and SH-5 to use common headers):

    ...
    CC arch/sh/mm/init.o
    /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/init.c: In function 'mem_init':
    /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/init.c:232: error: implicit declaration of function 'p3_cache_init'
    make[2]: *** [arch/sh/mm/init.o] Error 1
    make[1]: *** [arch/sh/mm] Error 2
    ...
    CC kernel/fork.o
    /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c: In function 'dup_mmap':
    /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c:323: error: implicit declaration of function 'flush_dcache_mmap_lock'
    /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c:325: error: implicit declaration of function 'flush_dcache_mmap_unlock'
    make[2]: *** [kernel/fork.o] Error 1

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

    Adrian Bunk
     
  • smc91x on x3proto needs 16-bit access and nowait, which we can now do
    through the platform data.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

07 Aug, 2008

1 commit


06 Aug, 2008

2 commits

  • This patch remove unneeded #include 's.

    It also adds a required #include that was previously
    implicitely pulled by ide.h

    Signed-off-by: Adrian Bunk
    [bart: revert change to tests/lkdtm.c (spotted by Stephen Rothwell)]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Adrian Bunk
     
  • Following files don't need at all:

    - arch/mips/jazz/setup.c
    - arch/sh/boards/mach-systemh/irq.c
    - drivers/macintosh/mediabay.c
    - drivers/scsi/hptiop.c
    - drivers/usb/storage/freecom.c
    - arch/powerpc/include/asm/ide.h
    - init/main.c

    Cc: Christoph Hellwig
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     

04 Aug, 2008

11 commits


03 Aug, 2008

2 commits