Merge branch 'misc' into for-linus
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 21 May 2012 14:15:24 +0000 (15:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 21 May 2012 14:15:24 +0000 (15:15 +0100)
Conflicts:
arch/arm/kernel/ptrace.c

1  2 
arch/arm/Kconfig
arch/arm/kernel/ptrace.c
arch/arm/kernel/signal.c
arch/arm/vfp/vfpmodule.c

Simple merge
@@@ -921,28 -935,11 +922,18 @@@ asmlinkage int syscall_trace(int why, s
  
        current_thread_info()->syscall = scno;
  
-       /* the 0x80 provides a way for the tracing parent to distinguish
-          between a syscall stop and SIGTRAP delivery */
-       ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD)
-                                ? 0x80 : 0));
-       /*
-        * this isn't the same as continuing with a signal, but it will do
-        * for normal use.  strace only continues with a signal if the
-        * stopping signal is not SIGTRAP.  -brl
-        */
-       if (current->exit_code) {
-               send_sig(current->exit_code, current, 1);
-               current->exit_code = 0;
-       }
 +      /*
 +       * IP is used to denote syscall entry/exit:
 +       * IP = 0 -> entry, =1 -> exit
 +       */
 +      ip = regs->ARM_ip;
 +      regs->ARM_ip = why;
 +
+       if (why)
+               tracehook_report_syscall_exit(regs, 0);
+       else if (tracehook_report_syscall_entry(regs))
+               current_thread_info()->syscall = -1;
        regs->ARM_ip = ip;
  
        return current_thread_info()->syscall;
Simple merge
@@@ -672,8 -579,10 +672,8 @@@ static int __init vfp_init(void
        } else {
                hotcpu_notifier(vfp_hotplug, 0);
  
 -              smp_call_function(vfp_enable, NULL, 1);
 -
                VFP_arch = (vfpsid & FPSID_ARCH_MASK) >> FPSID_ARCH_BIT;  /* Extract the architecture version */
-               printk("implementor %02x architecture %d part %02x variant %x rev %x\n",
+               pr_cont("implementor %02x architecture %d part %02x variant %x rev %x\n",
                        (vfpsid & FPSID_IMPLEMENTER_MASK) >> FPSID_IMPLEMENTER_BIT,
                        (vfpsid & FPSID_ARCH_MASK) >> FPSID_ARCH_BIT,
                        (vfpsid & FPSID_PART_MASK) >> FPSID_PART_BIT,