+       if (smp_int_redirect & SMP_IRQ_REDIRECTION)

This breaks the build on CONFIG_SMP=n configurations (neither
smp_int_redirect nor SMP_IRQ_REDIRECTION is defined).

Perhaps you could have:

#ifdef CONFIG_SMP
static inline char
choose_dmode(void)
{
        if (smp_int_redirect & SMP_IRQ_REDIRECTION)
                return IOSAPIC_LOWEST_PRIORITY;
        else
                return IOSAPIC_FIXED:
}
#else
static inline char
choose_dmode(void)
{
        return IOSAPIC_FIXED;
}
#endif

...

        dmode = choose_dmode();

Unless you can see some less invasive syntax.

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to