Hi Michael,

On Tue, 25 Jun 2013 17:47:56 +1000 Michael Ellerman <[email protected]> 
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                    [email protected]

Attachment: pgpSJ5UlupuEl.pgp
Description: PGP signature

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to