Re: [PATCH] Replace zone padding with a definition in cache.h

From: Andrew Morton (akpm_at_osdl.org)
Date: 03/16/05

  • Next message: Nick Piggin: "Re: [PATCH] Replace zone padding with a definition in cache.h"
    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/


  • Next message: Nick Piggin: "Re: [PATCH] Replace zone padding with a definition in cache.h"

    Relevant Pages

    • Problem in Migrating VC++ Development from Windows 2K to XP
      ... missing ';' before identifier 'DataBufferOffset' ... warning: ... extension used: zero-sized array in struct/union ...
      (microsoft.public.vstudio.general)
    • Re: 5.3-RELEASE: WARNING - WRITE_DMA interrupt timout - what does it mean?
      ... > Your disk is not involved in this problem since it has done its part, ... > Either way its a WARNING not a FAILURE:) ... ATA channel 0: ... To unsubscribe, ...
      (freebsd-current)
    • Re: Broken applications: Could we be honest?
      ... String to TranslationTable conversion encountered errors ... Warning: translation table syntax error: Unknown keysym name: osfHelp ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: [PATCH 07/11] unpaged: COW on VM_UNPAGED
      ... However I think it would not be unresonable to spit ... that I think it's prudent to spit out a warning ... And we'll have none of this rediculious complex crap handling COW ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Password security/Weak Password lockout
      ... It'll spit out a warning saying similar to "This password is too weak, are you sure you want to use it?" ... AND How would one configure it to be stricter or more lenient with password selection? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)