lkml.org 
[lkml]   [2004]   [Jul]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 11 Jul 2004 22:07:15 -0700
FromAndrew Morton <>
SubjectRe: [PATCH] Alignment for CPU maps, add padding semantics
"Shai Fultheim" <shai@scalex86.org> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2008