From: Andrew Morton <akpm@osdl.org>
To: Christoph Lameter <clameter@engr.sgi.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] slab gcc fix
Date: Tue, 13 Dec 2005 13:39:42 -0800 [thread overview]
Message-ID: <20051213133942.1f742685.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.62.0512131327140.23733@schroedinger.engr.sgi.com>
Christoph Lameter <clameter@engr.sgi.com> wrote:
>
> Since we no longer support 2.95, we can get rid of this ugly thing.
>
> Signed-off-by: Christoph Lameter <clameter@sgi.com>
>
> Index: linux-2.6.15-rc5-mm2/mm/slab.c
> ===================================================================
> --- linux-2.6.15-rc5-mm2.orig/mm/slab.c 2005-12-13 13:18:48.000000000 -0800
> +++ linux-2.6.15-rc5-mm2/mm/slab.c 2005-12-13 13:19:11.000000000 -0800
> @@ -265,11 +265,10 @@ struct array_cache {
> unsigned int batchcount;
> unsigned int touched;
> spinlock_t lock;
> - void *entry[0]; /*
> + void *entry[]; /*
There are hundreds of instances of this under include/. I think we just
live with it.
Plus the gcc-2.95 abandonment is tentative for now, so let's not go nuts.
It's conceivable that someone has a good reason for needing it retained - we'll
see.
next prev parent reply other threads:[~2005-12-13 21:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-13 21:29 Christoph Lameter
2005-12-13 21:39 ` Andrew Morton [this message]
2005-12-15 4:35 ` Kurt Wall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051213133942.1f742685.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=clameter@engr.sgi.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®