[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090511132006.fedc9352.akpm@linux-foundation.org>
Date: Mon, 11 May 2009 13:20:06 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: linux-kernel@...r.kernel.org, James Morris <jmorris@...ei.org>,
David Howells <dhowells@...hat.com>
Subject: Re: [PATCH] cred: #include init.h in cred.h
On Sat, 9 May 2009 07:36:52 +0400
Alexey Dobriyan <adobriyan@...il.com> wrote:
> linux/cred.h can't be included as first header (alphabetical order)
> because it uses __init which is enough to break compilation on some
> archs.
>
hm, OK, not a lot of detail there though.
>
> --- a/include/linux/cred.h
> +++ b/include/linux/cred.h
> @@ -13,6 +13,7 @@
> #define _LINUX_CRED_H
>
> #include <linux/capability.h>
> +#include <linux/init.h>
> #include <linux/key.h>
> #include <asm/atomic.h>
I assume that this is needed in 2.6.30?
--
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