Re: [PATCH] Replace zone padding with a definition in cache.h
From: Andrew Morton (akpm_at_osdl.org)
Date: 03/16/05
- Previous message: Randy.Dunlap: "Re: Taking strlen of buffers copied from userspace"
- In reply to: Christoph Lameter: "[PATCH] Replace zone padding with a definition in cache.h"
- Next in thread: Christoph Lameter: "Re: [PATCH] Replace zone padding with a definition in cache.h"
- Reply: Christoph Lameter: "Re: [PATCH] Replace zone padding with a definition in cache.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 15 Mar 2005 20:23:31 -0800 To: Christoph Lameter <christoph@lameter.com>
Christoph Lameter <christoph@lameter.com> wrote:
>
> +#ifndef ____cacheline_pad_in_smp
> +#if defined(CONFIG_SMP)
> +#define ____cacheline_pad_in_smp struct { char x; } ____cacheline_maxaligned_in_smp
> +#else
> +#define ____cacheline_pad_in_smp
> +#endif
> +#endif
That's going to spit a warning with older gcc's. "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/
- Previous message: Randy.Dunlap: "Re: Taking strlen of buffers copied from userspace"
- In reply to: Christoph Lameter: "[PATCH] Replace zone padding with a definition in cache.h"
- Next in thread: Christoph Lameter: "Re: [PATCH] Replace zone padding with a definition in cache.h"
- Reply: Christoph Lameter: "Re: [PATCH] Replace zone padding with a definition in cache.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|