Re: [PATCH 3/4] powerpc: Rename and flesh out the facility unavailable exception handler
From: Stephen Rothwell <hidden>
Date: 2013-06-27 04:05:47
Attachments
- (unnamed) [application/pgp-signature] 836 bytes
From: Stephen Rothwell <hidden>
Date: 2013-06-27 04:05:47
Hi Michael, On Tue, 25 Jun 2013 17:47:56 +1000 Michael Ellerman [off-list ref] wrote:
-void tm_unavailable_exception(struct pt_regs *regs)
+void facility_unavailable_exception(struct pt_regs *regs)
{
+ static char *facility_strings[] = {
+ "FPU",
+ "VMX/VSX",
+ "DSCR",
+ "PMU SPRs",
+ "BHRB",
+ "TM",
+ "AT",
+ "EBB",
+ "TAR",
+ };Are the indexes into this array defined somewhere? If not, can we do that. Then, can we use explicit indexed initialisers for this array? -- Cheers, Stephen Rothwell sfr@canb.auug.org.au