1. 01 11月, 2012 8 次提交
  2. 27 10月, 2012 3 次提交
    • P
      ARM: OMAP1: usb: fix sparse warnings · eba36d77
      Paul Walmsley 提交于
      
      Resolve the following sparse warnings:
      
      arch/arm/mach-omap1/usb.c:304:12: warning: symbol 'omap1_usb0_init' was not declared. Should it be static?
      arch/arm/mach-omap1/usb.c:412:12: warning: symbol 'omap1_usb1_init' was not declared. Should it be static?
      arch/arm/mach-omap1/usb.c:478:12: warning: symbol 'omap1_usb2_init' was not declared. Should it be static?
      
      by declaring those functions as static.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Felipe Balbi <balbi@ti.com>
      [tony@atomide.com: this was missed with plat/usb.h removal]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      eba36d77
    • P
      ARM: OMAP1: fix sparse warning added by commit 4c98dc6b · 97af08b6
      Paul Walmsley 提交于
      Commit 4c98dc6b ("ARM: OMAP: Make
      plat/fpga.h local to arch/arm/plat-omap") results in a new warning from
      sparse:
      
      arch/arm/mach-omap1/fpga.c:147:6: warning: symbol 'omap1510_fpga_init_irq' was not declared. Should it be static?
      
      Fix by adding a missing include.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      97af08b6
    • P
      ARM: OMAP1: fix build breakage introduced by commit 25c7d49e · 47ba7099
      Paul Walmsley 提交于
      Commit 25c7d49e ("ARM: OMAP: Make
      omap_device local to mach-omap2") broke an OMAP5912-only build here:
      
      arch/arm/mach-omap1/pm_bus.c: In function 'omap1_pm_runtime_init':
      arch/arm/mach-omap1/pm_bus.c:69:2: error: implicit declaration of function
      'cpu_class_is_omap1'
      make[1]: *** [arch/arm/mach-omap1/pm_bus.o] Error 1
      
      Fix by adding a missing include.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      47ba7099
  3. 25 10月, 2012 5 次提交
  4. 20 10月, 2012 3 次提交
    • M
      arm64: fix alignment padding in assembly code · aeed41a9
      Marc Zyngier 提交于
      An interesting effect of using the generic version of linkage.h
      is that the padding is defined in terms of x86 NOPs, which can have
      even more interesting effects when the assembly code looks like this:
      
      ENTRY(func1)
      	mov	x0, xzr
      ENDPROC(func1)
      	// fall through
      ENTRY(func2)
      	mov	x0, #1
      	ret
      ENDPROC(func2)
      
      Admittedly, the code is not very nice. But having code from another
      architecture doesn't look completely sane either.
      
      The fix is to add arm64's version of linkage.h, which causes the insertion
      of proper AArch64 NOPs.
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      aeed41a9
    • C
      xtensa: add missing system calls to the syscall table · 7216cabf
      Chris Zankel 提交于
      Add the following system calls to the syscall table:
      
      fallocate
      sendmmsg
      umount2
      syncfs
      epoll_create1
      inotify_init1
      signalfd4
      dup3
      pipe2
      timerfd_create
      timerfd_settime
      timerfd_gettime
      eventfd2
      preadv
      pwritev
      fanotify_init
      fanotify_mark
      process_vm_readv
      process_vm_writev
      name_to_handle_at
      open_by_handle_at
      sync_file_range
      perf_event_open
      rt_tgsigqueueinfo
      clock_adjtime
      prlimit64
      kcmp
      
      Note that we have to use the 'sys_sync_file_range2' version, so that
      the 64-bit arguments are aligned correctly to the argument registers.
      Signed-off-by: NChris Zankel <chris@zankel.net>
      7216cabf
    • C
      xtensa: minor compiler warning fix · 39070cb8
      Chris Zankel 提交于
      Fix two compiler warnings complaining about truncating a value on
      a 64-bit host, and about declaring an unused variable that is only
      used for a specific configuration.
      Signed-off-by: NChris Zankel <chris@zankel.net>
      39070cb8
  5. 19 10月, 2012 21 次提交