Re: aufs vs. m68k conflict, please advice

Ben Hutchings
2011-12-17T16:29:50Z

[-- Attachment #1: Type: text/plain, Size: 618 bytes --]

On Sat, 2011-12-17 at 14:28 +0000, Thorsten Glaser wrote:
> Ben Hutchings dixit:
>
> >why other architectures get away with it. Maybe they just don't use
> >pr_*() in headers.
>
> Maybe something like this?
>
> #define ack_bad_irq(irq) do { \
> pr_crit("unexpected IRQ trap at vector %02x\n", \
> (unsigned int)(irq)); \
> } while (/* CONSTCOND */ 0)
>
> This would defer pr_crit expansion to when the static inline
> function was actually used.

No, I don't think this is a bug in the header.

Ben.

--
Ben Hutchings
Computers are not intelligent. They only think they are.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]