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

From: eranian
Date: Mon Jun 09 2008 - 18:36:24 EST


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@xxxxxxxxx>
--

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

--

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/