[PATCH 1/1] UBUNTU: SAUCE: AppArmor -- add linux/kref.h for struct kref
Andy Whitcroft
apw at canonical.com
Thu Feb 18 11:29:29 UTC 2010
Include linux/kref.h to get struct kref for non-x86 architectures.
Fixes compile failures on arm.
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
security/apparmor/match.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/security/apparmor/match.c b/security/apparmor/match.c
index 609e14d..6e6a816 100644
--- a/security/apparmor/match.c
+++ b/security/apparmor/match.c
@@ -18,6 +18,7 @@
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/err.h>
+#include <linux/kref.h>
#include "include/match.h"
--
1.6.6.1
More information about the kernel-team
mailing list