>>> On 24.09.15 at 13:05, <andrew.coop...@citrix.com> wrote:
> +static struct keyhandler {
> +    union {
> +        keyhandler_fn_t *fn;
> +        irq_keyhandler_fn_t *irq_fn;
> +    };
> +
> +    const char *desc;    /* Description for help message.                 */
> +    bool_t irq_callback, /* Call in irq context? if not, tasklet context. */
> +        diagnostic;      /* Include in 'dump all' handler.                */
> +} key_table[128] __read_mostly =
> +{
> +#define KEYHANDLER(k, f, desc, diag)            \
> +    [k] = { .fn = (f), desc, 0, diag }
> +
> +#define IRQ_KEYHANDLER(k, f, desc, diag)        \
> +    [k] = { .irq_fn = (f), desc, 1, diag }

I'm sorry for noticing only now, but I'm afraid these (looking as
odd - but correct - as the other ones did) won't build with older
gcc either.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to