[patch 06/21] perfmon2 minimal: X86 generic hooks

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Monday, June 9, 2008 - 6:33 pm

This patch adds the generic X86 hooks to support perfmon2.
And in particular the Makefile and header file export.

Signed-off-by: Stephane Eranian <eranian@gmail.com>
--

Index: o/arch/x86/Makefile
===================================================================
--- o.orig/arch/x86/Makefile	2008-06-02 18:53:33.000000000 +0200
+++ o/arch/x86/Makefile	2008-06-02 18:54:41.000000000 +0200
@@ -176,6 +176,8 @@
 core-y += arch/x86/kernel/
 core-y += arch/x86/mm/
 
+core-$(CONFIG_PERFMON) += arch/x86/perfmon/
+
 # Remaining sub architecture files
 core-y += $(mcore-y)
 
Index: o/include/asm-x86/Kbuild
===================================================================
--- o.orig/include/asm-x86/Kbuild	2008-06-02 18:53:33.000000000 +0200
+++ o/include/asm-x86/Kbuild	2008-06-02 18:54:41.000000000 +0200
@@ -11,6 +11,7 @@
 header-y += sigcontext32.h
 header-y += ucontext.h
 header-y += processor-flags.h
+header-y += perfmon.h
 
 unifdef-y += e820.h
 unifdef-y += ist.h
Index: o/arch/x86/Kconfig
===================================================================
--- o.orig/arch/x86/Kconfig	2008-06-02 18:53:33.000000000 +0200
+++ o/arch/x86/Kconfig	2008-06-02 18:54:41.000000000 +0200
@@ -1306,6 +1306,8 @@
 
 	  If unsure, say Y.
 
+source "arch/x86/perfmon/Kconfig"
+
 endmenu
 
 config ARCH_ENABLE_MEMORY_HOTPLUG

-- 

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 06/21] perfmon2 minimal: X86 generic hooks, , (Mon Jun 9, 6:33 pm)
Re: [patch 06/21] perfmon2 minimal: X86 generic hooks, Stephen Rothwell, (Sat Jun 14, 9:25 pm)
Re: [patch 06/21] perfmon2 minimal: X86 generic hooks, stephane eranian, (Mon Jun 16, 12:26 pm)