mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 06/21] perfmon2 minimal:  X86 generic hooks
@ 2008-06-09 22:33 eranian
  2008-06-15  1:25 ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: eranian @ 2008-06-09 22:33 UTC (permalink / raw)
  To: linux-kernel

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

-- 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-16 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-09 22:33 [patch 06/21] perfmon2 minimal: X86 generic hooks eranian
2008-06-15  1:25 ` Stephen Rothwell
2008-06-16 16:26   ` stephane eranian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®