Merge branch 'linus' into perfcounters/core
authorIngo Molnar <mingo@elte.hu>
Mon, 29 Dec 2008 08:45:15 +0000 (09:45 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 29 Dec 2008 08:45:15 +0000 (09:45 +0100)
Conflicts:
fs/exec.c
include/linux/init_task.h

Simple context conflicts.

18 files changed:
1  2 
arch/x86/Kconfig
arch/x86/include/asm/thread_info.h
arch/x86/kernel/apic.c
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/common.c
arch/x86/kernel/entry_64.S
arch/x86/kernel/signal.c
drivers/acpi/processor_idle.c
drivers/char/sysrq.c
fs/exec.c
include/linux/init_task.h
include/linux/sched.h
init/Kconfig
kernel/Makefile
kernel/exit.c
kernel/fork.c
kernel/sched.c
kernel/sys.c

Simple merge
Simple merge
@@@ -30,8 -30,8 +30,9 @@@
  #include <linux/module.h>
  #include <linux/dmi.h>
  #include <linux/dmar.h>
+ #include <linux/ftrace.h>
  
 +#include <asm/perf_counter.h>
  #include <asm/atomic.h>
  #include <asm/smp.h>
  #include <asm/mtrr.h>
@@@ -1,9 -1,15 +1,15 @@@
  #
 -# Makefile for x86-compatible CPU details and quirks
 +# Makefile for x86-compatible CPU details, features and quirks
  #
  
+ # Don't trace early stages of a secondary CPU boot
+ ifdef CONFIG_FUNCTION_TRACER
+ CFLAGS_REMOVE_common.o = -pg
+ endif
  obj-y                 := intel_cacheinfo.o addon_cpuid_features.o
  obj-y                 += proc.o capflags.o powerflags.o common.o
+ obj-y                 += vmware.o hypervisor.o
  
  obj-$(CONFIG_X86_32)  += bugs.o cmpxchg.o
  obj-$(CONFIG_X86_64)  += bugs_64.o
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/exec.c
+++ b/fs/exec.c
@@@ -1018,13 -1017,8 +1018,15 @@@ int flush_old_exec(struct linux_binprm 
                set_dumpable(current->mm, suid_dumpable);
        }
  
+       current->personality &= ~bprm->per_clear;
 +      /*
 +       * Flush performance counters when crossing a
 +       * security domain:
 +       */
 +      if (!get_dumpable(current->mm))
 +              perf_counter_exit_task(current);
 +
        /* An exec changes our domain. We are no longer part of the thread
           group */
  
@@@ -113,16 -112,8 +112,18 @@@ extern struct group_info init_groups
  # define CAP_INIT_BSET  CAP_INIT_EFF_SET
  #endif
  
+ extern struct cred init_cred;
 +#ifdef CONFIG_PERF_COUNTERS
 +# define INIT_PERF_COUNTERS(tsk)                                      \
 +      .perf_counter_ctx.counter_list =                                \
 +              LIST_HEAD_INIT(tsk.perf_counter_ctx.counter_list),      \
 +      .perf_counter_ctx.lock =                                        \
 +              __SPIN_LOCK_UNLOCKED(tsk.perf_counter_ctx.lock),
 +#else
 +# define INIT_PERF_COUNTERS(tsk)
 +#endif
 +
  /*
   *  INIT_TASK is used to set up the first task table, touch at
   * your own risk!. Base=0, limit=0x1fffff (=2MB)
Simple merge
diff --cc init/Kconfig
Simple merge
diff --cc kernel/Makefile
@@@ -89,9 -88,8 +88,9 @@@ obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT
  obj-$(CONFIG_FUNCTION_TRACER) += trace/
  obj-$(CONFIG_TRACING) += trace/
  obj-$(CONFIG_SMP) += sched_cpupri.o
 +obj-$(CONFIG_PERF_COUNTERS) += perf_counter.o
  
- ifneq ($(CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER),y)
+ ifneq ($(CONFIG_SCHED_OMIT_FRAME_POINTER),y)
  # According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is
  # needed for x86 only.  Why this used to be enabled for all architectures is beyond
  # me.  I suspect most platforms don't need this, but until we know that for sure
diff --cc kernel/exit.c
Simple merge
diff --cc kernel/fork.c
Simple merge
diff --cc kernel/sched.c
Simple merge
diff --cc kernel/sys.c
Simple merge