summaryrefslogtreecommitdiffstats
path: root/runtime/regs.c
diff options
context:
space:
mode:
authoreteo <eteo>2007-07-04 17:05:00 +0000
committereteo <eteo>2007-07-04 17:05:00 +0000
commitb0abf39b95d679bb9563f185f2206460b08724b4 (patch)
tree9282198cbda0d2e49c15fe7a40ee441de5864a93 /runtime/regs.c
parentdb6f191ece0dfddb52be570cfac0a709b6ca601e (diff)
downloadsystemtap-steved-b0abf39b95d679bb9563f185f2206460b08724b4.tar.gz
systemtap-steved-b0abf39b95d679bb9563f185f2206460b08724b4.tar.xz
systemtap-steved-b0abf39b95d679bb9563f185f2206460b08724b4.zip
2007-07-05 Eugene Teo <eteo@redhat.com>
* regs.c (_stp_print_regs): #ifdef CONFIG_CPU_CP15 instead.
Diffstat (limited to 'runtime/regs.c')
-rw-r--r--runtime/regs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/regs.c b/runtime/regs.c
index 00130e99..bc717695 100644
--- a/runtime/regs.c
+++ b/runtime/regs.c
@@ -253,7 +253,7 @@ void _stp_print_regs(struct pt_regs * regs)
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__ (