]> err.no Git - linux-2.6/commit
x86/oprofile/nmi_int: add Nehalem to list of ppro cores
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 00:29:00 +0000 (17:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 00:29:00 +0000 (17:29 -0700)
commit4b9f12a3779c548b68bc9af7d94030868ad3aa1b
treee9f17f0f37313b2b09a79a66e4b19f8f1bb1b9e6
parentb30f3ae50cd03ef2ff433a5030fbf88dd8323528
x86/oprofile/nmi_int: add Nehalem to list of ppro cores

..otherwise oprofile will fall back on that poor timer interrupt.

Also replace the unreadable chain of if-statements with a "switch()"
statement instead. It generates better code, and is a lot clearer.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/oprofile/nmi_int.c