Skip to content

Commit

Permalink
oprofile, s390: Add support for IBM zEnterprise EC12
Browse files Browse the repository at this point in the history
This patch adds support for the latest release of the
IBM mainframe series - the IBM zEnterprise EC12 (zEC12).

The CPU measurement facility didn't change.  So only the new CPU type
has to be tolerated.

Signed-off-by: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Signed-off-by: Robert Richter <rric@kernel.org>
  • Loading branch information
Andreas Krebbel authored and Robert Richter committed Apr 6, 2013
1 parent 07961ac commit 23995bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/s390/oprofile/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ static int oprofile_hwsampler_init(struct oprofile_operations *ops)
switch (id.machine) {
case 0x2097: case 0x2098: ops->cpu_type = "s390/z10"; break;
case 0x2817: case 0x2818: ops->cpu_type = "s390/z196"; break;
case 0x2827: ops->cpu_type = "s390/zEC12"; break;
default: return -ENODEV;
}
}
Expand Down

0 comments on commit 23995bb

Please sign in to comment.