Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100617
b: refs/heads/master
c: a50445d
h: refs/heads/master
i:
  100615: 1ab7090
v: v3
  • Loading branch information
Pekka Paalanen authored and Thomas Gleixner committed May 24, 2008
1 parent 94a048c commit b232090
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dee310d0adf41019aca476052ac3085ff286d9be
refs/heads/master: a50445d76c22a34ae149704ea5adaef171c8acb7
4 changes: 2 additions & 2 deletions trunk/arch/x86/mm/mmio-mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ static void pre(struct kmmio_probe *p, struct pt_regs *regs,
struct mmiotrace_rw *my_trace = &get_cpu_var(cpu_trace);
const unsigned long instptr = instruction_pointer(regs);
const enum reason_type type = get_ins_type(instptr);
struct remap_trace *trace = p->user_data;
struct remap_trace *trace = p->private;

/* it doesn't make sense to have more than one active trace per cpu */
if (my_reason->active_traces)
Expand Down Expand Up @@ -299,7 +299,7 @@ static void ioremap_trace_core(resource_size_t offset, unsigned long size,
.len = size,
.pre_handler = pre,
.post_handler = post,
.user_data = trace
.private = trace
},
.phys = offset,
.id = atomic_inc_return(&next_id)
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/mmiotrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct kmmio_probe {
unsigned long len; /* length of the probe region */
kmmio_pre_handler_t pre_handler; /* Called before addr is executed. */
kmmio_post_handler_t post_handler; /* Called after addr is executed */
void *user_data;
void *private;
};

/* kmmio is active by some kmmio_probes? */
Expand Down

0 comments on commit b232090

Please sign in to comment.