[PATCH] Make i386 marker optimizaton work on 2.6.21

Deepak Saxena <[email protected]>
Newsgroups gmane.linux.kernel.tracing
Organization Plexity Networks
Message-ID <[email protected]>
linux/kdebug.h no longer exists.

Signed-off-by: Deepak Saxena <[email protected]>


Index: linux-2.6.21/arch/i386/kernel/marker.c
===================================================================
--- linux-2.6.21.orig/arch/i386/kernel/marker.c
+++ linux-2.6.21/arch/i386/kernel/marker.c
@@ -18,9 +18,9 @@
 #include <linux/notifier.h>
 #include <linux/module.h>
 #include <linux/marker.h>
-#include <linux/kdebug.h>
 
 #include <asm/cacheflush.h>
+#include <asm/kdebug.h>
 
 #define BREAKPOINT_INSTRUCTION  0xcc
 #define BREAKPOINT_INS_LEN 1

-- 
Deepak Saxena - [email protected] - http://www.plexity.net

In the end, they will not say, "those were dark times,"  they will ask
"why were their poets silent?" - Bertolt Brecht
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.