projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f9c77
)
Fix trace.h
author
Alexander Graf
<agraf@suse.de>
Fri, 30 Oct 2009 05:47:25 +0000
(
05:47
+0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Thu, 5 Nov 2009 05:50:27 +0000
(16:50 +1100)
It looks like the variable "pc" is defined. At least the current code always
failed on me stating that "pc" is already defined somewhere else.
Let's use _pc instead, because that doesn't collide.
Is this the right approach? Does it break on 440 too? If not, why not?
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kvm/trace.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/kvm/trace.h
b/arch/powerpc/kvm/trace.h
index 67f219de04558e3abd15a249e94c8c4d4470bcc0..a8e8400180525b4e9a0c6894ddc100b286140626 100644
(file)
--- a/
arch/powerpc/kvm/trace.h
+++ b/
arch/powerpc/kvm/trace.h
@@
-12,8
+12,8
@@
* Tracepoint for guest mode entry.
*/
TRACE_EVENT(kvm_ppc_instr,
- TP_PROTO(unsigned int inst, unsigned long pc, unsigned int emulate),
- TP_ARGS(inst, pc, emulate),
+ TP_PROTO(unsigned int inst, unsigned long
_
pc, unsigned int emulate),
+ TP_ARGS(inst,
_
pc, emulate),
TP_STRUCT__entry(
__field( unsigned int, inst )
@@
-23,7
+23,7
@@
TRACE_EVENT(kvm_ppc_instr,
TP_fast_assign(
__entry->inst = inst;
- __entry->pc = pc;
+ __entry->pc =
_
pc;
__entry->emulate = emulate;
),