From patchwork Wed Jan 4 08:55:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 9496287 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 6475A606B5 for ; Wed, 4 Jan 2017 08:58:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 505B826E82 for ; Wed, 4 Jan 2017 08:58:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 43CF927C05; Wed, 4 Jan 2017 08:58:55 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D319226E82 for ; Wed, 4 Jan 2017 08:58:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cOhNu-00013L-MC; Wed, 04 Jan 2017 08:57:26 +0000 Received: from conuserg-08.nifty.com ([210.131.2.75]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cOhNh-0000xU-OZ for linux-arm-kernel@lists.infradead.org; Wed, 04 Jan 2017 08:57:15 +0000 Received: from pug.jp.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id v048u1dJ002604; Wed, 4 Jan 2017 17:56:06 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v048u1dJ002604 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1483520167; bh=ScbapFFp6lwYkEdNAi4FfDx1uXap0+LWwm0WKCVaKSc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qKKaKMRw+PA6rsAUZsc7E6cWRxQbEzp56QVJZDIMWf5cps7IlRmTZqSfi5T3ybc6t b0YKquMdLpAuRNLjeLxIRHCp0mHxDe38guymxapvIXfK+jz9F/aHtsoNdh/yU2emBt OzsGoUyzUgrGd9rcfV2EIiJkcIrtEv4T4zGySi9Q06Io9nelAwZfFhM6vOlc5MD2Z3 v9xqfIuXvE0R0vd3UL16TOSu0/tApmPb2RH57cf/5cRM2hR4kz4CNkd/afKYaAzzQJ 7e8yPJMkm+hRvcPnr0cG7vTOPaqITZ1TgforxxbBV6yyD2Fh1aB6dEdXvlMt1siUKn 4nbR0nbKy+s2Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Andrew Morton Subject: [PATCH 2/3] linux/const.h: refactor _BITUL and _BITULL a bit Date: Wed, 4 Jan 2017 17:55:26 +0900 Message-Id: <1483520127-29316-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483520127-29316-1-git-send-email-yamada.masahiro@socionext.com> References: <1483520127-29316-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170104_005714_115026_F35965CA X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Arnd Bergmann , Masahiro Yamada , Catalin Marinas , x86@kernel.org, Will Deacon , Russell King , linux-kernel@vger.kernel.org, David Howells , Olof Johansson , Ingo Molnar , "H . Peter Anvin" , Srinivas Pandruvada , Thomas Gleixner , 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 --- 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 76fb0f9..13e5165 100644 --- a/include/uapi/linux/const.h +++ b/include/uapi/linux/const.h @@ -24,7 +24,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 */