* [patch] CONFIG_CPU_CP15 may not be defined
@ 2007-07-04 16:57 Eugene Teo
0 siblings, 0 replies; only message in thread
From: Eugene Teo @ 2007-07-04 16:57 UTC (permalink / raw)
To: SystemTAP
I have tested this on Nokia N800. Kindly commit the patch. Thanks.
Eugene
diff -uprN src.default/runtime/ChangeLog src/runtime/ChangeLog
--- src.default/runtime/ChangeLog 2007-07-02 15:14:36.000000000 +0800
+++ src/runtime/ChangeLog 2007-07-05 08:15:12.000000000 +0800
@@ -1,3 +1,7 @@
+2007-07-05 Eugene Teo <eteo@redhat.com>
+
+ * regs.c (_stp_print_regs): #ifdef CONFIG_CPU_CP15 instead.
+
2007-07-02 Martin Hunt <hunt@redhat.com>
* sym.c (_stp_kallsyms_lookup): Improve heuristic
diff -uprN src.default/runtime/regs.c src/runtime/regs.c
--- src.default/runtime/regs.c 2007-06-15 23:19:30.000000000 +0800
+++ src/runtime/regs.c 2007-07-05 08:10:42.000000000 +0800
@@ -253,7 +253,7 @@ void _stp_print_regs(struct pt_regs * re
processor_modes[processor_mode(regs)],
thumb_mode(regs) ? " (T)" : "",
get_fs() == get_ds() ? "kernel" : "user");
-#if CONFIG_CPU_CP15
+#ifdef CONFIG_CPU_CP15
{
unsigned int ctrl;
__asm__ (
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-04 16:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-04 16:57 [patch] CONFIG_CPU_CP15 may not be defined Eugene Teo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).