Message ID | 1389336140-25640-1-git-send-email-shawn.guo@linaro.org |
---|---|
State | Accepted |
Commit | b30afea019a4548ee77b73e83f03104e0e3a0556 |
Headers | show
Return-Path: <patchwork-forward+bncBCV3TM5A74DRBJFMX2LAKGQERYKVY2A@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CB88920A64 for <linaro@patches.linaro.org>; Fri, 10 Jan 2014 06:41:41 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id e9sf6287532qcy.7 for <linaro@patches.linaro.org>; Thu, 09 Jan 2014 22:41:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=/dUesxlp0Lapno3FHDGOYIq3Ki7I+QjsGuMxdQrWEjw=; b=SuyvLA1kot86anYThhUhh3v5H5kRU8WojcZzAEjvgnHXBXdZzZzObM30gFMt/xGgYq nlFaWg6hR1lWZDJ4zFz+AK0fX4pt7+6cuF9qIT8h5EyWCUiRQ6Ut3qHtHXviHKGaYTRu 4z6g+YuyKzwu/QvAuvTmYBMsC+jaNUe87SP6tH3AlciFZsH8z/cKrwnjw0pp20eGFYo9 iTDlsQIhJjGfyjkZvKDB8AklvsXlmVzO0h+vdvkIsfiAgwMklePDeW6LPlJdmGA4Ajxt MyVYN22LXVMgJhoE3bJ3gbcsAkZziKHM7wPw+5RlFoqbSVIJmEIopazGDZraix2fsiP6 1uNA== X-Gm-Message-State: ALoCoQlfi5MbUvKdRAVBPZo3a/zLrd0fk1NXAbhvz/P4oV/5+TQSbalYMQ7C/J+gotutoXfnncrF X-Received: by 10.58.28.196 with SMTP id d4mr2728155veh.3.1389336101013; Thu, 09 Jan 2014 22:41:41 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.59.49 with SMTP id w17ls1391309qeq.68.gmail; Thu, 09 Jan 2014 22:41:40 -0800 (PST) X-Received: by 10.52.114.99 with SMTP id jf3mr69913vdb.66.1389336100862; Thu, 09 Jan 2014 22:41:40 -0800 (PST) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id go5si4284645vec.33.2014.01.09.22.41.40 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 22:41:40 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id cz12so166990veb.19 for <patchwork-forward@linaro.org>; Thu, 09 Jan 2014 22:41:40 -0800 (PST) X-Received: by 10.52.245.9 with SMTP id xk9mr66236vdc.68.1389336100729; Thu, 09 Jan 2014 22:41:40 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp64992ved; Thu, 9 Jan 2014 22:41:40 -0800 (PST) X-Received: by 10.68.221.68 with SMTP id qc4mr9007337pbc.29.1389336099731; Thu, 09 Jan 2014 22:41:39 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r7si6121589pbk.207.2014.01.09.22.41.38; Thu, 09 Jan 2014 22:41:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751450AbaAJGl2 (ORCPT <rfc822;patch@linaro.org> + 26 others); Fri, 10 Jan 2014 01:41:28 -0500 Received: from tx2ehsobe005.messaging.microsoft.com ([65.55.88.15]:44970 "EHLO tx2outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751202AbaAJGlY convert rfc822-to-8bit (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 10 Jan 2014 01:41:24 -0500 Received: from mail153-tx2-R.bigfish.com (10.9.14.244) by TX2EHSOBE011.bigfish.com (10.9.40.31) with Microsoft SMTP Server id 14.1.225.22; Fri, 10 Jan 2014 06:41:24 +0000 Received: from mail153-tx2 (localhost [127.0.0.1]) by mail153-tx2-R.bigfish.com (Postfix) with ESMTP id 3527E1000B7; Fri, 10 Jan 2014 06:41:24 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzc89bhzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah1fc6hzz1de098h8275dh1de097hz2dh87h2a8h839h93fhd24he5bhf0ah1288h12a5h12a9h12bdh137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh2222h224fh1fb3h1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e23h1fe8h1ff5h2218h2216h226dh22d0h2327h2336h2438h1151h1155h) X-FB-DOMAIN-IP-MATCH: fail Received: from mail153-tx2 (localhost.localdomain [127.0.0.1]) by mail153-tx2 (MessageSwitch) id 138933608260523_3180; Fri, 10 Jan 2014 06:41:22 +0000 (UTC) Received: from TX2EHSMHS011.bigfish.com (unknown [10.9.14.234]) by mail153-tx2.bigfish.com (Postfix) with ESMTP id 4C30E20046; Fri, 10 Jan 2014 06:41:21 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS011.bigfish.com (10.9.99.111) with Microsoft SMTP Server (TLS) id 14.16.227.3; Fri, 10 Jan 2014 06:41:21 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-005.039d.mgd.msft.net (10.84.1.17) with Microsoft SMTP Server (TLS) id 14.3.158.2; Fri, 10 Jan 2014 06:41:20 +0000 Received: from S2101-09.ap.freescale.net ([10.192.185.4]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s0A6fHZN017742; Thu, 9 Jan 2014 23:41:19 -0700 From: Shawn Guo <shawn.guo@linaro.org> To: Andrew Morton <akpm@linux-foundation.org> CC: <linux-kernel@vger.kernel.org>, Shawn Guo <shawn.guo@linaro.org> Subject: [PATCH] genalloc: spinlock_t needs spinlock_types.h Date: Fri, 10 Jan 2014 14:42:20 +0800 Message-ID: <1389336140-25640-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: shawn.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT |
diff --git a/include/linux/genalloc.h b/include/linux/genalloc.h index 1eda33d..1c2fdaa 100644 --- a/include/linux/genalloc.h +++ b/include/linux/genalloc.h @@ -30,6 +30,8 @@ #ifndef __GENALLOC_H__ #define __GENALLOC_H__ +#include <linux/spinlock_types.h> + struct device; struct device_node;
Compiling a C file which includes genalloc.h but without spinlock_types.h being included before, we will see the compile error below. include/linux/genalloc.h:54:2: error: unknown type name ‘spinlock_t’ Include spinlock_types.h from genalloc.h to fix the problem. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> --- include/linux/genalloc.h | 2 ++ 1 file changed, 2 insertions(+)