x86, xenoprof: Add Nehalem to list of ppro cores
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Aug 2008 09:52:18 +0000 (10:52 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Aug 2008 09:52:18 +0000 (10:52 +0100)
commitc3eade240902c2a420d202b5d9cd8434ef2e4b37
tree28c573715b61edf3f347e645f4cb0a83b5d02e97
parentb904b98221d30f2962f4372b9dfea06554b621b5
x86, xenoprof: Add Nehalem to list of ppro cores

Straight port from Linus's tree:

commit 4b9f12a3779c548b68bc9af7d94030868ad3aa1b
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Thu Jul 24 17:29:00 2008 -0700

    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>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
xen/arch/x86/oprofile/nmi_int.c