]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86 mmiotrace: fix relay-buffer-full flag for SMP
authorPekka Paalanen <pq@iki.fi>
Mon, 12 May 2008 19:20:56 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 24 May 2008 09:21:39 +0000 (11:21 +0200)
commitfe1ffafa80f6673101c6560c2bacfe3df10372ee
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