Merge commit 'v2.6.28-rc2' into tracing/urgent
authorIngo Molnar <mingo@elte.hu>
Mon, 27 Oct 2008 09:50:54 +0000 (10:50 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 27 Oct 2008 09:50:54 +0000 (10:50 +0100)
1  2 
Makefile
arch/arm/Kconfig
arch/powerpc/Kconfig
arch/x86/Kconfig
arch/x86/include/asm/ftrace.h
arch/x86/kernel/entry_32.S
kernel/sysctl.c

diff --combined Makefile
+++ b/Makefile
@@@ -1,8 -1,8 +1,8 @@@
  VERSION = 2
  PATCHLEVEL = 6
- SUBLEVEL = 27
- EXTRAVERSION =
- NAME = Rotary Wombat
+ SUBLEVEL = 28
+ EXTRAVERSION = -rc2
+ NAME = Killer Bat of Doom
  
  # *DOCUMENTATION*
  # To see a list of typical targets execute "make help"
@@@ -437,7 -437,7 +437,7 @@@ ifeq ($(config-targets),1
  # KBUILD_DEFCONFIG may point out an alternative default configuration
  # used for 'make defconfig'
  include $(srctree)/arch/$(SRCARCH)/Makefile
- export KBUILD_DEFCONFIG
+ export KBUILD_DEFCONFIG KBUILD_KCONFIG
  
  config %config: scripts_basic outputmakefile FORCE
        $(Q)mkdir -p include/linux include/config
@@@ -536,7 -536,7 +536,7 @@@ KBUILD_CFLAGS      += -
  KBUILD_AFLAGS += -gdwarf-2
  endif
  
 -ifdef CONFIG_FTRACE
 +ifdef CONFIG_FUNCTION_TRACER
  KBUILD_CFLAGS += -pg
  endif
  
diff --combined arch/arm/Kconfig
@@@ -16,7 -16,8 +16,7 @@@ config AR
        select HAVE_ARCH_KGDB
        select HAVE_KPROBES if (!XIP_KERNEL)
        select HAVE_KRETPROBES if (HAVE_KPROBES)
 -      select HAVE_FTRACE if (!XIP_KERNEL)
 -      select HAVE_DYNAMIC_FTRACE if (HAVE_FTRACE)
 +      select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
        select HAVE_GENERIC_DMA_COHERENT
        help
          The ARM series is a line of low-power-consumption RISC chip designs
@@@ -355,7 -356,7 +355,7 @@@ config ARCH_IXP4X
        select GENERIC_GPIO
        select GENERIC_TIME
        select GENERIC_CLOCKEVENTS
-       select ZONE_DMA if PCI
+       select DMABOUNCE if PCI
        help
          Support for Intel's IXP4XX (XScale) family of processors.
  
@@@ -539,16 -540,15 +539,15 @@@ config ARCH_OMA
        help
          Support for TI's OMAP platform (OMAP1 and OMAP2).
  
- config ARCH_MSM7X00A
-       bool "Qualcomm MSM7X00A"
+ config ARCH_MSM
+       bool "Qualcomm MSM"
        select GENERIC_TIME
        select GENERIC_CLOCKEVENTS
        help
-         Support for Qualcomm MSM7X00A based systems.  This runs on the ARM11
-         apps processor of the MSM7X00A and depends on a shared memory
+         Support for Qualcomm MSM7K based systems.  This runs on the ARM11
+         apps processor of the MSM7K and depends on a shared memory
          interface to the ARM9 modem processor which runs the baseband stack
          and controls some vital subsystems (clock and power control, etc).
-         <http://www.cdmatech.com/products/msm7200_chipset_solution.jsp>
  
  endchoice
  
@@@ -1255,6 -1255,8 +1254,8 @@@ source "drivers/hid/Kconfig
  
  source "drivers/usb/Kconfig"
  
+ source "drivers/uwb/Kconfig"
  source "drivers/mmc/Kconfig"
  
  source "drivers/memstick/Kconfig"
diff --combined arch/powerpc/Kconfig
@@@ -19,9 -19,6 +19,6 @@@ config WORD_SIZ
        default 64 if PPC64
        default 32 if !PPC64
  
- config PPC_MERGE
-       def_bool y
  config ARCH_PHYS_ADDR_T_64BIT
         def_bool PPC64 || PHYS_64BIT
  
@@@ -111,7 -108,8 +108,7 @@@ config ARCH_NO_VIRT_TO_BU
  config PPC
        bool
        default y
 -      select HAVE_DYNAMIC_FTRACE
 -      select HAVE_FTRACE
 +      select HAVE_FUNCTION_TRACER
        select ARCH_WANT_OPTIONAL_GPIOLIB
        select HAVE_IDE
        select HAVE_IOREMAP_PROT
@@@ -325,13 -323,11 +322,11 @@@ config KEXE
  
  config CRASH_DUMP
        bool "Build a kdump crash kernel"
-       depends on PPC_MULTIPLATFORM && PPC64
+       depends on PPC_MULTIPLATFORM && PPC64 && RELOCATABLE
        help
          Build a kernel suitable for use as a kdump capture kernel.
-         The kernel will be linked at a different address than normal, and
-         so can only be used for Kdump.
-         Don't change this unless you know what you are doing.
+         The same kernel binary can be used as production kernel and dump
+         capture kernel.
  
  config PHYP_DUMP
        bool "Hypervisor-assisted dump (EXPERIMENTAL)"
@@@ -831,11 -827,9 +826,9 @@@ config PAGE_OFFSE
        default "0xc000000000000000"
  config KERNEL_START
        hex
-       default "0xc000000002000000" if CRASH_DUMP
        default "0xc000000000000000"
  config PHYSICAL_START
        hex
-       default "0x02000000" if CRASH_DUMP
        default "0x00000000"
  endif
  
diff --combined arch/x86/Kconfig
@@@ -28,7 -28,7 +28,7 @@@ config X8
        select HAVE_KRETPROBES
        select HAVE_FTRACE_MCOUNT_RECORD
        select HAVE_DYNAMIC_FTRACE
 -      select HAVE_FTRACE
 +      select HAVE_FUNCTION_TRACER
        select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)
        select HAVE_ARCH_KGDB if !X86_VOYAGER
        select HAVE_ARCH_TRACEHOOK
@@@ -116,6 -116,9 +116,9 @@@ config GENERIC_TIME_VSYSCAL
  config ARCH_HAS_CPU_RELAX
        def_bool y
  
+ config ARCH_HAS_DEFAULT_IDLE
+       def_bool y
  config ARCH_HAS_CACHE_LINE_SIZE
        def_bool y
  
@@@ -1635,6 -1638,8 +1638,8 @@@ source "arch/x86/kernel/cpu/cpufreq/Kco
  
  source "drivers/cpuidle/Kconfig"
  
+ source "drivers/idle/Kconfig"
  endmenu
  
  
index 0000000,47f7e65..9e8bc29
mode 000000,100644..100644
--- /dev/null
@@@ -1,0 -1,24 +1,24 @@@
 -#ifdef CONFIG_FTRACE
+ #ifndef _ASM_X86_FTRACE_H
+ #define _ASM_X86_FTRACE_H
 -#endif /* CONFIG_FTRACE */
++#ifdef CONFIG_FUNCTION_TRACER
+ #define MCOUNT_ADDR           ((long)(mcount))
+ #define MCOUNT_INSN_SIZE      5 /* sizeof mcount call */
+ #ifndef __ASSEMBLY__
+ extern void mcount(void);
+ static inline unsigned long ftrace_call_adjust(unsigned long addr)
+ {
+       /*
+        * call mcount is "e8 <4 byte offset>"
+        * The addr points to the 4 byte offset and the caller of this
+        * function wants the pointer to e8. Simply subtract one.
+        */
+       return addr - 1;
+ }
+ #endif
++#endif /* CONFIG_FUNCTION_TRACER */
+ #endif /* _ASM_X86_FTRACE_H */
@@@ -1024,7 -1024,7 +1024,7 @@@ ENTRY(machine_check
        RING0_INT_FRAME
        pushl $0
        CFI_ADJUST_CFA_OFFSET 4
-       pushl $do_machine_check
+       pushl machine_check_vector
        CFI_ADJUST_CFA_OFFSET 4
        jmp error_code
        CFI_ENDPROC
@@@ -1149,7 -1149,7 +1149,7 @@@ ENDPROC(xen_failsafe_callback
  
  #endif        /* CONFIG_XEN */
  
 -#ifdef CONFIG_FTRACE
 +#ifdef CONFIG_FUNCTION_TRACER
  #ifdef CONFIG_DYNAMIC_FTRACE
  
  ENTRY(mcount)
@@@ -1204,7 -1204,7 +1204,7 @@@ trace
        jmp ftrace_stub
  END(mcount)
  #endif /* CONFIG_DYNAMIC_FTRACE */
 -#endif /* CONFIG_FTRACE */
 +#endif /* CONFIG_FUNCTION_TRACER */
  
  .section .rodata,"a"
  #include "syscall_table_32.S"
diff --combined kernel/sysctl.c
@@@ -274,6 -274,16 +274,16 @@@ static struct ctl_table kern_table[] = 
                .mode           = 0644,
                .proc_handler   = &proc_dointvec,
        },
+       {
+               .ctl_name       = CTL_UNNUMBERED,
+               .procname       = "sched_shares_thresh",
+               .data           = &sysctl_sched_shares_thresh,
+               .maxlen         = sizeof(unsigned int),
+               .mode           = 0644,
+               .proc_handler   = &proc_dointvec_minmax,
+               .strategy       = &sysctl_intvec,
+               .extra1         = &zero,
+       },
        {
                .ctl_name       = CTL_UNNUMBERED,
                .procname       = "sched_child_runs_first",
                .mode           = 0644,
                .proc_handler   = &proc_dointvec,
        },
 -#ifdef CONFIG_FTRACE
 +#ifdef CONFIG_FUNCTION_TRACER
        {
                .ctl_name       = CTL_UNNUMBERED,
                .procname       = "ftrace_enabled",