Re: [PATCH 2/17] Generic backward compatibility includes for 4level

Andi Kleen
2004-10-25T16:11:34Z

On Mon, Oct 25, 2004 at 10:39:26AM +0100, Russell King wrote:
> On Mon, Oct 25, 2004 at 09:23:49AM +0200, Andreas Kleen wrote:
> > +/* Included by architectures that don't have a fourth page table level.
> > +
> > + pml4 is simply casted to pgd */
> > +
> > +#define pml4_ERROR(x)
>
> Don't we normally add do { } while (0) after empty macros which look like
> a function?

iirc Rusty tried to come up with an example some time ago where it actually
made a difference, but failed. But I can change it.

-Andi