Re: [patch 3/3] mm: variable length argument support
Olaf Hering <[email protected]> Tue, 7 Aug 2007 22:10:54 +0200
| Newsgroups | gmane.linux.kernel,gmane.linux.ports.hppa,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 07, Andrew Morton wrote: > > > +++ linux-2.6-2/include/linux/binfmts.h 2007-06-13 11:52:46.000000000 +0200 > > > -#define MAX_ARG_PAGES 32 > > > +#define MAX_ARG_STRLEN (PAGE_SIZE * 32) > > > +#define MAX_ARG_STRINGS 0x7FFFFFFF > > > > This adds a new usage of PAGE_SIZE to an exported header. > > How can this be fixed for 2.6.23? > > Put #ifdef __KERNEL__ around it? No package uses linux/binfmts.h, will send a Kbuild patch to unexport it.