From patchwork Thu Feb 18 11:29:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Whitcroft X-Patchwork-Id: 45745 X-Patchwork-Delegate: apw@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 93C5AB7CF3 for ; Thu, 18 Feb 2010 22:30:04 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1Ni4Zy-0008Lw-8E; Thu, 18 Feb 2010 11:29:58 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1Ni4ZX-0008Du-9U for kernel-team@lists.ubuntu.com; Thu, 18 Feb 2010 11:29:31 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1Ni4ZX-0002BL-5S; Thu, 18 Feb 2010 11:29:31 +0000 Received: from 79-66-219-93.dynamic.dsl.as9105.com ([79.66.219.93] helo=localhost.localdomain) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ni4ZX-0008Bj-0D; Thu, 18 Feb 2010 11:29:31 +0000 From: Andy Whitcroft To: John Johansen Subject: [PATCH 1/1] UBUNTU: SAUCE: AppArmor -- add linux/kref.h for struct kref Date: Thu, 18 Feb 2010 11:29:29 +0000 Message-Id: <1266492569-10532-1-git-send-email-apw@canonical.com> X-Mailer: git-send-email 1.6.6.1 Cc: kernel-team@lists.ubuntu.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com Include linux/kref.h to get struct kref for non-x86 architectures. Fixes compile failures on arm. Signed-off-by: Andy Whitcroft --- 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 #include #include +#include #include "include/match.h"