From patchwork Thu Feb 22 12:15:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10235465 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 26B36602DC for ; Thu, 22 Feb 2018 12:17:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FD9928798 for ; Thu, 22 Feb 2018 12:17:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1324128854; Thu, 22 Feb 2018 12:17:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A28A428798 for ; Thu, 22 Feb 2018 12:17:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Y3UJ+dBZZfxW3SbWpdSYH+kfQPQv54Pe7d79UQ8OuK0=; b=oEGa0pZ3SNi5MGwJ0fEQVusv0G 4wB3nSiDs9u3vDWdYjaSRl0Q8ukhtpCSTAXUojtVtnppgA00JpNTEQhxvf91q5PC9n4yhE0nmtB0P RJmGo+QAUywMkaX9Rrv2NrNvxY3bRyrMvIC6k5pSFaHwE4pNpRtRN8WHRJWG+uiJGByIbHWXPEME6 0LxEGGOGF6pT+6jS6Uy8zx19TRGbJu09ltuNnNjuiMWwdnKcs907BNLAOpz76jcf4/doCJxrrUOSJ MnPWwitJLmpmPynXEjDDAAFPATWzaLdeSULZwRKAHLykQWgO6uasoyCrCF5/CsWyG/KHbJRIsoYD+ YW4S3Mig==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eopoL-0002qa-W5; Thu, 22 Feb 2018 12:17:17 +0000 Received: from conuserg-10.nifty.com ([210.131.2.77]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eopnW-0002U3-CN for linux-arm-kernel@lists.infradead.org; Thu, 22 Feb 2018 12:16:28 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id w1MCFdUH020774; Thu, 22 Feb 2018 21:15:48 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com w1MCFdUH020774 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1519301749; bh=VoieKgrt3ZmAO14oJQ59FpTkz02eEwwKUJ1hjsixGkY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uidpp8jrDrEl845E8JxoutO1vpscWSJJ7IBdbI2axjRg02FbwlJViOtmuc1MDPu5x B7P3y9WkiSlT1h3xG2JwzVpPk6d8J0q87l/BW3IrpRj8vfUX87w3foj6b3UHrqMpX5 CwO5/fITBYwcpKXEt+pqR3CZmyGYhCrHYghWyCkrtJ4PGnpjmnK3h7SnQyAGpDXHZO 414myrrVulwQuker8MPg1uDwYMR+2rIu9Tgr4x0V4DYjhmTkV8FidsNQMu9DcFRR2g yKb6DsMViF8c/Z4sF6TIuadFesMeLylVnAbQg/nx6QfGcktFpVWgJT7+0HpO/B3FIC CBbhdjkk1n65w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Andrew Morton Subject: [PATCH v3 4/5] linux/const.h: refactor _BITUL and _BITULL a bit Date: Thu, 22 Feb 2018 21:15:14 +0900 Message-Id: <1519301715-31798-5-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519301715-31798-1-git-send-email-yamada.masahiro@socionext.com> References: <1519301715-31798-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180222_041626_831814_B1BBF49D X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Howells , Masahiro Yamada , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Minor cleanups available by _UL and _ULL. Signed-off-by: Masahiro Yamada --- V2: https://patchwork.kernel.org/patch/9498269/ Changes in v3: None Changes in v2: None include/uapi/linux/const.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/const.h b/include/uapi/linux/const.h index 09bc0e0..5ed721a 100644 --- a/include/uapi/linux/const.h +++ b/include/uapi/linux/const.h @@ -25,7 +25,7 @@ #define _UL(x) (_AC(x, UL)) #define _ULL(x) (_AC(x, ULL)) -#define _BITUL(x) (_AC(1,UL) << (x)) -#define _BITULL(x) (_AC(1,ULL) << (x)) +#define _BITUL(x) (_UL(1) << (x)) +#define _BITULL(x) (_ULL(1) << (x)) #endif /* _UAPI_LINUX_CONST_H */