[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091123141910.af8f0d30.akpm@linux-foundation.org>
Date: Mon, 23 Nov 2009 14:19:10 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Stefani Seibold <stefani@...bold.net>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>,
Andi Kleen <andi@...stfloor.org>,
Amerigo Wang <xiyou.wangcong@...il.com>,
Joe Perches <joe@...ches.com>,
Roger Quadros <quadros.roger@...il.com>,
Greg Kroah-Hartman <gregkh@...e.de>,
Mauro Carvalho Chehab <mchehab@...hat.com>
Subject: Re: [PATCH 5/7] kfifo: add DEFINE_KFIFO and friends, add very tiny
functions
On Fri, 20 Nov 2009 09:27:13 +0100
Stefani Seibold <stefani@...bold.net> wrote:
> +#define __kfifo_initializer(s, b) \
> + (struct kfifo) { \
> + .size = s, \
> + .in = 0, \
> + .out = 0, \
> + .buffer = b \
> + }
This could be #undef'ed after its last invokation, assuming that it is
not intended that .c files use __kfifo_initializer().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists