Skip to content
  1. Oct 07, 2012
  2. Oct 06, 2012
  3. Oct 05, 2012
    • Wade Farnsworth's avatar
      ARM: 7548/1: include linux/sched.h in syscall.h · 8ef102c6
      Wade Farnsworth authored
      
      
      The syscall tracing patch introduces a compile bug in lttng-modules
      when the latter calls syscall_get_nr(), similar to the following:
      
      <path-to-linux>/arch/arm/include/asm/syscall.h:21:2: error: implicit declaration of function 'task_thread_info' [-Werror=implicit-function-declaration]
      
      The issue is that we are using task_thread_info() in the
      syscall_get_nr() function in asm/syscall.h, but not explicitly
      including sched.h from this file, so we can expect this bug might
      surface any time that syscall_get_nr() is called.
      
      Explicitly including sched.h solves the problem.
      
      Cc: <stable@vger.kernel.org> [3.5, 3.6]
      Signed-off-by: default avatarWade Farnsworth <wade_farnsworth@mentor.com>
      Acked-by: default avatarWill Deacon <will.deacon@arm.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      8ef102c6
    • Michal Simek's avatar
      Revert "microblaze_mmu_v2: Update signal returning address" · 94fda49a
      Michal Simek authored
      
      
      This reverts commit 8b28626a.
      
      Offset -8 is wrong because when it is applied then one instruction
      before brki r14, 8 is called again when we return.
      Offset -4 is correct and brki instruction is called again.
      
      This change came from ancient MMU kernel.
      
      Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
      94fda49a
    • Mark Salter's avatar
      c6x: remove c6x signal.h · 2e919f76
      Mark Salter authored
      
      
      The c6x signal.h includes the asm-generic version and provides
      a couple of extern declarations. David Howells pointed out that
      the externs needed to be protected by ifdef __KERNEL__. As it
      turns out, the externs aren't really needed since the functions
      are only called from asm code. So this patch gets rid of the
      c6x signal.h and uses just the asm-generic version.
      
      Signed-off-by: default avatarMark Salter <msalter@redhat.com>
      2e919f76
  4. Oct 04, 2012