From patchwork Sun Mar 27 04:02:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zeng Zhaoxiu X-Patchwork-Id: 602240 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qXk294Pbyz9s8d for ; Sun, 27 Mar 2016 15:04:31 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=md7YdY18; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ak1wB-0005wq-EQ; Sun, 27 Mar 2016 04:04:27 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ak1w3-0005qN-6Q; Sun, 27 Mar 2016 04:04:20 +0000 Received: by mail-pf0-x244.google.com with SMTP id q129so16473884pfb.3; Sat, 26 Mar 2016 21:03:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:from:to:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=CiClFWZeL1ZwBa2YHd1PFNY/FJF1hV1WnM0gWbLad+U=; b=md7YdY18K5ZIRQym5AGd0hZoyNa5ltV+LMWg8JeHKoQPZsdXIRJVlHTWZpoaY7+LXb dkFR8trwb0/723fihSTmbyoYZFG/hWjJz/YxI7YgLCQDavfSqw2fzaX34gt8z4NadQWS HwHeFquIWmdTwswyotRL2dXEiUFamapn0FwIgVftZB5iuYw2ZJd/T9AgVDhNtkM3a7iZ WhMjSEk47QTRk8yDmxKQzAABwjntzTtfMpDxIgIOxw1bnRvQkMWSksedhlwV0wr8+Me+ TFMULV8Gopm1M/2C85osOfTig5D+7K3NVdHXTCjnBIUcgGHhB/acDFq03dcmBtDw+myC nbww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:references:from:to:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=CiClFWZeL1ZwBa2YHd1PFNY/FJF1hV1WnM0gWbLad+U=; b=ef/7wOtQ9q7Cn4GHsxMTLUWy3Xl/fqNCssezosfzMSMSGkK7Qx6vRqbKd3cJuIWUii r36A1o8VWSVLNjwa060lUtPqeuIvqEG5PxHw/sSoJ0sdV8mg6D78DJUx1GpNMzl21UyO rBIEXklEAAFVmPCBZY7vgl0F2m2/9CK0wh+d4VF1BnLFFx2+klTI0UXZxpSptR67zZtP OU+PwEcp/HutCGHiR33FndqyLs5YLplMFr74vYCDNqx7O0sfEcH0SYUp/WyvPb14ELVp e2+gU7aJcaIzS6l4xDa0rUgBcH/mWVUQtjKvg8y0WZ5OGYulUlYiDtBhzaxGhJXinDy3 m+3g== X-Gm-Message-State: AD7BkJK1RZjlcZxuqMMvin6TX2YYSEnmJCWo1jSZ1ID6/BPqcyLEtboCG4Q/8ZxM5+aYEw== X-Received: by 10.98.10.136 with SMTP id 8mr32858981pfk.67.1459051437400; Sat, 26 Mar 2016 21:03:57 -0700 (PDT) Received: from [0.0.0.0] (4.tor.exit.babylon.network. [178.17.174.99]) by smtp.googlemail.com with ESMTPSA id 27sm26063124pfo.58.2016.03.26.21.02.37 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 26 Mar 2016 21:03:56 -0700 (PDT) Subject: [PATCH 02/31] Include generic parity.h in some architectures' bitops.h References: <1458788612-4367-1-git-send-email-zhaoxiu.zeng@gmail.com> From: "zhaoxiu.zeng" To: Vineet Gupta , Russell King , Catalin Marinas , Will Deacon , Mark Salter , Aurelien Jacquiot , Mikael Starvik , Jesper Nilsson , Yoshinori Sato , Richard Kuo , Geert Uytterhoeven , James Hogan , David Howells , Koichi Yasutake , Jonas Bonn , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Rich Felker , Chris Zankel , Max Filippov , "Peter Zijlstra (Intel)" , Masahiro Yamada , Thomas Gleixner , Hendrik Brueckner Message-ID: <56F75B52.5070805@gmail.com> Date: Sun, 27 Mar 2016 12:02:26 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <1458788612-4367-1-git-send-email-zhaoxiu.zeng@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160326_210419_321786_11D18DDB X-CRM114-Status: GOOD ( 10.25 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:400e:c00:0:0:0:244 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zhaoxiu.zeng[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: uclinux-h8-devel@lists.sourceforge.jp, linux-s390@vger.kernel.org, linux-am33-list@redhat.com, linux-c6x-dev@linux-c6x.org, linux-cris-kernel@axis.com, linux-sh@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-xtensa@linux-xtensa.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-parisc@vger.kernel.org, linux@lists.openrisc.net, linux-snps-arc@lists.infradead.org, linux-metag@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Zeng Zhaoxiu Use the generic version. Signed-off-by: Zeng Zhaoxiu --- arch/arc/include/asm/bitops.h | 1 + arch/arm/include/asm/bitops.h | 1 + arch/arm64/include/asm/bitops.h | 1 + arch/c6x/include/asm/bitops.h | 1 + arch/cris/include/asm/bitops.h | 1 + arch/frv/include/asm/bitops.h | 1 + arch/h8300/include/asm/bitops.h | 1 + arch/hexagon/include/asm/bitops.h | 1 + arch/m32r/include/asm/bitops.h | 1 + arch/m68k/include/asm/bitops.h | 1 + arch/metag/include/asm/bitops.h | 1 + arch/mn10300/include/asm/bitops.h | 1 + arch/openrisc/include/asm/bitops.h | 1 + arch/parisc/include/asm/bitops.h | 1 + arch/s390/include/asm/bitops.h | 1 + arch/sh/include/asm/bitops.h | 1 + arch/xtensa/include/asm/bitops.h | 1 + 17 files changed, 17 insertions(+) diff --git a/arch/arc/include/asm/bitops.h b/arch/arc/include/asm/bitops.h index 0352fb8..7967e47 100644 --- a/arch/arc/include/asm/bitops.h +++ b/arch/arc/include/asm/bitops.h @@ -370,6 +370,7 @@ static inline __attribute__ ((const)) int __ffs(unsigned long x) #define ffz(x) __ffs(~(x)) #include +#include #include #include #include diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm/bitops.h index e943e6c..99f28a6 100644 --- a/arch/arm/include/asm/bitops.h +++ b/arch/arm/include/asm/bitops.h @@ -313,6 +313,7 @@ static inline unsigned long __ffs(unsigned long x) #include #include +#include #include #ifdef __ARMEB__ diff --git a/arch/arm64/include/asm/bitops.h b/arch/arm64/include/asm/bitops.h index 9c19594..eac4965 100644 --- a/arch/arm64/include/asm/bitops.h +++ b/arch/arm64/include/asm/bitops.h @@ -44,6 +44,7 @@ extern int test_and_change_bit(int nr, volatile unsigned long *p); #include #include +#include #include #include diff --git a/arch/c6x/include/asm/bitops.h b/arch/c6x/include/asm/bitops.h index f0ab012..94eb0d1 100644 --- a/arch/c6x/include/asm/bitops.h +++ b/arch/c6x/include/asm/bitops.h @@ -87,6 +87,7 @@ static inline int ffs(int x) #include #include +#include #include #include diff --git a/arch/cris/include/asm/bitops.h b/arch/cris/include/asm/bitops.h index 8062cb5..06bc246 100644 --- a/arch/cris/include/asm/bitops.h +++ b/arch/cris/include/asm/bitops.h @@ -36,6 +36,7 @@ #include #include #include +#include #include #include diff --git a/arch/frv/include/asm/bitops.h b/arch/frv/include/asm/bitops.h index 0df8e95..f2a7ee8 100644 --- a/arch/frv/include/asm/bitops.h +++ b/arch/frv/include/asm/bitops.h @@ -314,6 +314,7 @@ int __ilog2_u64(u64 n) #include #include +#include #include #include diff --git a/arch/h8300/include/asm/bitops.h b/arch/h8300/include/asm/bitops.h index 05999ab..e392db2 100644 --- a/arch/h8300/include/asm/bitops.h +++ b/arch/h8300/include/asm/bitops.h @@ -172,6 +172,7 @@ static inline unsigned long __ffs(unsigned long word) #include #include #include +#include #include #include #include diff --git a/arch/hexagon/include/asm/bitops.h b/arch/hexagon/include/asm/bitops.h index 5e4a59b..2df614e 100644 --- a/arch/hexagon/include/asm/bitops.h +++ b/arch/hexagon/include/asm/bitops.h @@ -290,6 +290,7 @@ static inline unsigned long __fls(unsigned long word) #include #include #include +#include #include #include diff --git a/arch/m32r/include/asm/bitops.h b/arch/m32r/include/asm/bitops.h index 86ba2b4..e3cf46b 100644 --- a/arch/m32r/include/asm/bitops.h +++ b/arch/m32r/include/asm/bitops.h @@ -259,6 +259,7 @@ static __inline__ int test_and_change_bit(int nr, volatile void * addr) #include #include #include +#include #include #endif /* __KERNEL__ */ diff --git a/arch/m68k/include/asm/bitops.h b/arch/m68k/include/asm/bitops.h index b4a9b0d..fd673ea 100644 --- a/arch/m68k/include/asm/bitops.h +++ b/arch/m68k/include/asm/bitops.h @@ -519,6 +519,7 @@ static inline int __fls(int x) #include #include #include +#include #include #endif /* __KERNEL__ */ diff --git a/arch/metag/include/asm/bitops.h b/arch/metag/include/asm/bitops.h index 2671134..ad13087 100644 --- a/arch/metag/include/asm/bitops.h +++ b/arch/metag/include/asm/bitops.h @@ -118,6 +118,7 @@ static inline int test_and_change_bit(unsigned int bit, #include #include #include +#include #include #include #include diff --git a/arch/mn10300/include/asm/bitops.h b/arch/mn10300/include/asm/bitops.h index fe6f8e2..60761b7 100644 --- a/arch/mn10300/include/asm/bitops.h +++ b/arch/mn10300/include/asm/bitops.h @@ -225,6 +225,7 @@ int ffs(int x) #include #include #include +#include #include #include diff --git a/arch/openrisc/include/asm/bitops.h b/arch/openrisc/include/asm/bitops.h index 3003cda..8c97642 100644 --- a/arch/openrisc/include/asm/bitops.h +++ b/arch/openrisc/include/asm/bitops.h @@ -43,6 +43,7 @@ #include #include #include +#include #include #include diff --git a/arch/parisc/include/asm/bitops.h b/arch/parisc/include/asm/bitops.h index 3f9406d..867ba10 100644 --- a/arch/parisc/include/asm/bitops.h +++ b/arch/parisc/include/asm/bitops.h @@ -211,6 +211,7 @@ static __inline__ int fls(int x) #include #include #include +#include #include #include diff --git a/arch/s390/include/asm/bitops.h b/arch/s390/include/asm/bitops.h index 8043f10..198eead 100644 --- a/arch/s390/include/asm/bitops.h +++ b/arch/s390/include/asm/bitops.h @@ -460,6 +460,7 @@ static inline int fls(int word) #include #include #include +#include #include #include #include diff --git a/arch/sh/include/asm/bitops.h b/arch/sh/include/asm/bitops.h index fc8e652..4bf0c35 100644 --- a/arch/sh/include/asm/bitops.h +++ b/arch/sh/include/asm/bitops.h @@ -86,6 +86,7 @@ static inline unsigned long ffz(unsigned long word) #include #include #include +#include #include #include #include diff --git a/arch/xtensa/include/asm/bitops.h b/arch/xtensa/include/asm/bitops.h index 3f44fa2..981fa83 100644 --- a/arch/xtensa/include/asm/bitops.h +++ b/arch/xtensa/include/asm/bitops.h @@ -229,6 +229,7 @@ test_and_change_bit(unsigned int bit, volatile unsigned long *p) #include #include +#include #include #include