fix for compiling 2.6.24.7-rt10 without CONFIG_FTRACE
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 fix for compiling 2.6.24.7-rt10 without CONFIG_FTRACE
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steven,
If you build a debugging kernel and don't have CONFIG_FTRACE turned on, -rt10 dies when compiling arch/x86/kernel/x8664_ksyms_64.c, because ktime_t isn't defined in the prototypes at the bottom of include/linux/ftrace.h. Patch to fix attached.
Clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkg4cVQACgkQqA4JVb61b9d0gQCffgzXgm2qaftlj5Q3fjjtyolD J2MAnAoy4j9s2AUhZjwagT6OXzJ3Plgq
=9Ypr
-----END PGP SIGNATURE-----
fix to handle compiling debugging without CONFIG_FTRACE
From: Clark Williams <[email protected]>
---
include/linux/ftrace.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
include/linux/ftrace.h +2 -1
@@ -1,10 +1,11 @@#ifndef _LINUX_FTRACE_H#define _LINUX_FTRACE_H +#include <linux/ktime.h> +#ifdef CONFIG_FTRACE #include <linux/linkage.h> -#include <linux/ktime.h> #include <linux/fs.h> extern int ftrace_enabled;
Steven Rostedt
maintainerQuoted 9 lines · Clark Williams
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Steven,
If you build a debugging kernel and don't have
CONFIG_FTRACEturned on, -rt10 dies when compilingarch/x86/kernel/x8664_ksyms_64.c, becausektime_tisn't defined in the prototypes at the bottom ofinclude/linux/ftrace.h. Patch to fix attached.
Ah, you sent me this before, but I thought it was fixed with the new ftrace. Sorry, I'll re-apply it.
Thanks.
-- Steve