public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cred: #include init.h in cred.h
@ 2009-05-09  3:36 Alexey Dobriyan
  2009-05-11 20:20 ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey Dobriyan @ 2009-05-09  3:36 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

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.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 include/linux/cred.h |    1 +
 1 file changed, 1 insertion(+)

commit f3e00c7d1ece60a019b15ea4992821834fe21a31
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date:   Fri May 8 20:46:18 2009 +0400

    cred.h: init.h

--- 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>
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-11 22:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-09  3:36 [PATCH] cred: #include init.h in cred.h Alexey Dobriyan
2009-05-11 20:20 ` Andrew Morton
2009-05-11 21:16   ` Alexey Dobriyan
2009-05-11 22:32   ` James Morris
2009-05-11 22:48     ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox