[PATCH 3/4] powerpc: Rename and flesh out the facility unavailable exception handler
Stephen Rothwell
sfr at canb.auug.org.au
Thu Jun 27 14:05:39 EST 2013
Hi Michael,
On Tue, 25 Jun 2013 17:47:56 +1000 Michael Ellerman <michael at ellerman.id.au> 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 at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20130627/2536d68f/attachment.sig>
More information about the Linuxppc-dev
mailing list