lkml.org 
[lkml]   [2009]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] cred: #include init.h in cred.h
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>


\
 
 \ /
  Last update: 2009-05-09 05:39    [W:0.518 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site