Re: [PATCH] Alignment for CPU maps, add padding semantics

From: Andrew Morton
Date: Mon Jul 12 2004 - 00:10:44 EST


"Shai Fultheim" <shai@xxxxxxxxxxxx> wrote:
>
> +#define ____cacheline_pad_in_smp struct { char x; } ____cacheline_maxaligned_in_smp

anonymous structs don't work with gcc-2.95. The build emits nine
gazillion of these:

include/linux/mmzone.h:135: warning: unnamed struct/union that defines no instances
include/linux/mmzone.h:147: warning: unnamed struct/union that defines no instances
include/linux/mmzone.h:201: warning: unnamed struct/union that defines no instances

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/