From de05a9d88794fad1c94b9cb12215142e61e15a16 Mon Sep 17 00:00:00 2001
From: Asim YarKhan <yarkhan@icl.utk.edu>
Date: Thu, 16 Oct 2014 12:50:43 -0400
Subject: [PATCH 46/46] PPC64 add support for the Power non virtualized
 platform

Thanks to Carl Love for this patch and the following description:
The Power 8 system can be run as a non-virtualized machine.  In
this case, the platform is "PowerNV".  This patch adds the platform
to the possible IBM platform types.
---
 src/linux-common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/linux-common.c b/src/linux-common.c
index 614a83c..85af700 100644
--- a/src/linux-common.c
+++ b/src/linux-common.c
@@ -225,6 +225,7 @@ _linux_get_cpu_info( PAPI_hw_info_t *hwinfo, int *cpuinfo_mhz )
 		*t = '\0';
 	        s = strtok( s + 2, " " );
 		if ( ( strcasecmp( s, "pSeries" ) == 0 ) ||
+                    ( strcasecmp( s, "PowerNV" ) == 0 ) ||
 		     ( strcasecmp( s, "PowerMac" ) == 0 ) ) {
 		   strcpy( hwinfo->vendor_string, "IBM" );
 		}
-- 
2.1.1

