1. 10 3月, 2011 1 次提交
  2. 15 2月, 2011 3 次提交
    • F
      sh: Change __nosave_XXX symbols to long · 13c12a4e
      Francesco Virlinzi 提交于
      This patch changes the:
       - __nosave_begin
       - __nosave_end
      symbols from 'void' to 'long' as required by the latest
      Gcc (4.5.2) which raises the compilation error:
      
      cc1: warnings being treated as errors
      arch/sh/kernel/swsusp.c: In function 'pfn_is_nosave':
      arch/sh/kernel/swsusp.c:24:28: error: taking address of expression of type 'void'
      arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
      arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
      arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
      Signed-off-by: NFrancesco Virlinzi <francesco.virlinzi@st.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      13c12a4e
    • S
      sh: Flush executable pages in copy_user_highpage · a25bbe12
      Stuart Menefy 提交于
      This resolves a problem seen when using the Android dynamic linker.
      Sometimes the dynamic linker would seg-fault at start up and this
      was eventually traced to the handling of a COW fault for a page which
      was being modified by the linker. If there was no cache aliasing between
      the kernel and the user page, the page was not flushed, leaving the
      newly copied data in the D-cache. However when executing instructions
      from that page, the I-cache is filled directly from external memory,
      rather than the D-cache, and causing garbage to be executed.
      Signed-off-by: NStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      a25bbe12
    • S
      sh: Ensure ST40-300 BogoMIPS value is consistent · a0865368
      Stuart Menefy 提交于
      A strange variation was seen in the BogoMIPS figure for the ST40-300.
      This was eventually tracked down to sensitivity to the alignment of
      the loop. So add an align directive to ensure this doesn't occur.
      Signed-off-by: NStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      a0865368
  3. 01 2月, 2011 2 次提交
    • N
      sh: sh7750: Fix incompatible pointer type · 0ce08870
      Nobuhiro Iwamatsu 提交于
      It is necessary to set array of struct platform_device in
      early_platform_add_devices().
      
      arch/sh/kernel/cpu/sh4/setup-sh7750.c: In function ‘plat_early_device_setup’:
      arch/sh/kernel/cpu/sh4/setup-sh7750.c:260: warning: passing argument 1 of ‘early_platform_add_devices’ from incompatible pointer type
      include/linux/platform_device.h:159: note: expected ‘struct platform_device **’ but argument is of type ‘struct platform_device *’
      arch/sh/kernel/cpu/sh4/setup-sh7750.c:262: warning: passing argument 1 of ‘early_platform_add_devices’ from incompatible pointer type
      include/linux/platform_device.h:159: note: expected ‘struct platform_device **’ but argument is of type ‘struct platform_device *’
      arch/sh/kernel/cpu/sh4/setup-sh7750.c:263: warning: passing argument 1 of ‘early_platform_add_devices’ from incompatible pointer type
      include/linux/platform_device.h:159: note: expected ‘struct platform_device **’ but argument is of type ‘struct platform_device *’
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      0ce08870
    • N
      sh: sh7750: move machtypes.h to include/generated · 5939d25f
      Nobuhiro Iwamatsu 提交于
      By commit 3252b11f,
      machtypes.h moved to include/generated.
      However, this forgot kernel/cpu/sh4/setup-sh7750.
      Signed-off-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5939d25f
  4. 25 1月, 2011 1 次提交
  5. 21 1月, 2011 1 次提交
    • D
      kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT · 6a108a14
      David Rientjes 提交于
      The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option
      is used to configure any non-standard kernel with a much larger scope than
      only small devices.
      
      This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes
      references to the option throughout the kernel.  A new CONFIG_EMBEDDED
      option is added that automatically selects CONFIG_EXPERT when enabled and
      can be used in the future to isolate options that should only be
      considered for embedded systems (RISC architectures, SLOB, etc).
      
      Calling the option "EXPERT" more accurately represents its intention: only
      expert users who understand the impact of the configuration changes they
      are making should enable it.
      Reviewed-by: NIngo Molnar <mingo@elte.hu>
      Acked-by: NDavid Woodhouse <david.woodhouse@intel.com>
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Cc: Greg KH <gregkh@suse.de>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Robin Holt <holt@sgi.com>
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6a108a14
  6. 19 1月, 2011 1 次提交
  7. 18 1月, 2011 1 次提交
  8. 14 1月, 2011 4 次提交
  9. 13 1月, 2011 5 次提交
  10. 12 1月, 2011 6 次提交
  11. 11 1月, 2011 12 次提交
  12. 07 1月, 2011 1 次提交
    • P
      sh: mach-sdk7786: Fix up fallout from clkdev consolidation. · 3bd75e5e
      Paul Mundt 提交于
        CC      arch/sh/boards/mach-sdk7786/setup.o
      arch/sh/boards/mach-sdk7786/setup.c:179: error: variable 'sdk7786_pcie_cl' has initializer but incomplete type
      arch/sh/boards/mach-sdk7786/setup.c:180: error: unknown field 'con_id' specified in initializer
      arch/sh/boards/mach-sdk7786/setup.c:180: warning: excess elements in struct initializer
      arch/sh/boards/mach-sdk7786/setup.c:180: warning: (near initialization for 'sdk7786_pcie_cl')
      arch/sh/boards/mach-sdk7786/setup.c:181: error: unknown field 'clk' specified in initializer
      arch/sh/boards/mach-sdk7786/setup.c:181: warning: excess elements in struct initializer
      arch/sh/boards/mach-sdk7786/setup.c:181: warning: (near initialization for 'sdk7786_pcie_cl')
      arch/sh/boards/mach-sdk7786/setup.c: In function 'sdk7786_clk_init':
      arch/sh/boards/mach-sdk7786/setup.c:211: error: implicit declaration of function 'clkdev_add'
      
      which is a fanciful way of saying that the struct definition moved from
      asm/clkdev.h to linux/clkdev.h.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      3bd75e5e
  13. 06 1月, 2011 1 次提交
  14. 05 1月, 2011 1 次提交