From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S970137AbdAECYV (ORCPT ); Wed, 4 Jan 2017 21:24:21 -0500 Received: from conuserg-09.nifty.com ([210.131.2.76]:23245 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758764AbdAECYT (ORCPT ); Wed, 4 Jan 2017 21:24:19 -0500 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v052KFNs001563 X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Andrew Morton Cc: "H . Peter Anvin" , Arnd Bergmann , David Howells , x86@kernel.org, Thomas Gleixner , Russell King , Srinivas Pandruvada , Ingo Molnar , Will Deacon , Mark Rutland , Olof Johansson , Catalin Marinas , linux-arm-kernel@lists.infradead.org, Masahiro Yamada , Guan Xuetao , linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] linux/const.h: refactor _BITUL and _BITULL a bit Date: Thu, 5 Jan 2017 11:20:08 +0900 Message-Id: <1483582810-7046-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483582810-7046-1-git-send-email-yamada.masahiro@socionext.com> References: <1483582810-7046-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Minor cleanups available by _UL and _ULL. Signed-off-by: Masahiro Yamada --- 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 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 */ -- 2.7.4