1. 07 Aug, 2009 29 commits
  2. 06 Aug, 2009 9 commits
  3. 05 Aug, 2009 2 commits
    • Hartley Sweeten's avatar
      ARM: 5639/1: arm: clkdev.c should include <linux/clk.h> · c0c60c4b
      Hartley Sweeten authored
      <linux/clk.h> should be included to get the base API prototypes.
      
      This fixes the following sparse warnings:
      
        arch/arm/common/clkdev.c:65:12:
          warning: symbol 'clk_get_sys' was not declared. Should it be static?
      
        arch/arm/common/clkdev.c:79:12:
          warning: symbol 'clk_get' was not declared. Should it be static?
      
        arch/arm/common/clkdev.c:87:6:
          warning: symbol 'clk_put' was not declared. Should it be static?
      Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      c0c60c4b
    • Hartley Sweeten's avatar
      ARM: 5638/1: arch/arm/kernel/signal.c: use correct address space for CRUNCH · 65a5053b
      Hartley Sweeten authored
      preserve_crunch_context() calls __copy_to_user() which expects the
      destination address to be in __user space.  setup_sigframe() properly
      passes the destination address.
      
      restore_crunch_context() calls __copy_from_user() which expects the
      source address to be in __user space.  restore_sigframe() properly
      passes the source address.
      
      This fixes {preserve/restore}_crunch_context() to accept the
      address as __user space and resolves the following sparse warnings:
      
        arch/arm/kernel/signal.c:146:31:
           warning: incorrect type in argument 1 (different address spaces)
              expected void [noderef] <asn:1>*to
              got struct crunch_sigframe *frame
      
        arch/arm/kernel/signal.c:156:38:
           warning: incorrect type in argument 2 (different address spaces)
              expected void const [noderef] <asn:1>*from
              got struct crunch_sigframe *frame
      
        arch/arm/kernel/signal.c:250:48:
           warning: incorrect type in argument 1 (different address spaces)
              expected struct crunch_sigframe *frame
              got struct crunch_sigframe [noderef] <asn:1>*<noident>
      
        arch/arm/kernel/signal.c:365:49:
           warning: incorrect type in argument 1 (different address spaces)
              expected struct crunch_sigframe *frame
              got struct crunch_sigframe [noderef] <asn:1>*<noident>
      Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      65a5053b