x86 mmiotrace: fix relay-buffer-full flag for SMP
commitfe1ffafa80f6673101c6560c2bacfe3df10372ee
authorPekka Paalanen <pq@iki.fi>
Mon, 12 May 2008 19:20:56 +0000 (12 21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 24 May 2008 09:21:39 +0000 (24 11:21 +0200)
tree15391f0e992a4b149270a12fc861dd5353980318
parent75bb88350e0501b3cf5ac096a1008757844414a9
x86 mmiotrace: fix relay-buffer-full flag for SMP

Relay has per-cpu buffers, but mmiotrace was using only a single flag
for detecting buffer full/not-full transitions. The new code makes
this per-cpu and actually counts missed events.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/mmiotrace/mmio-mod.c