Received: by 10.192.165.148 with SMTP id m20csp3476690imm; Mon, 30 Apr 2018 00:23:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZroTz18FIhtsUELFIqLafw6IrovCqxgqSbLKD8sjf+U/kVARNJ+ZpzhkQB/W1jcowBxBZMh X-Received: by 2002:a17:902:9890:: with SMTP id s16-v6mr11497278plp.132.1525072995363; Mon, 30 Apr 2018 00:23:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525072995; cv=none; d=google.com; s=arc-20160816; b=lVaDJ4De5wVbijZHMtrh4D3LBr3qe7es2fCi1Ucv/eCpBLs+SdF3c+BaqTVYswAkB1 JZZ2InhuV9tUBjSHGs2z+FqdOmdHeqYhKDyx+mVPCiEPJn+LTQlxZiF5wFTr/iZA61BC 2s75RpVJVfLFyNgRMimX/WN6EPMMwOILWY5RqFz8dq9ncfqGoO613sAzjqnfoi80QoqB s5svceuMpYXV8dfSpnbrA+mzzPh7roa6PDk5Qq9q/G/KBjG/xR9kKURubp2mdhuTSlGW u7hrRIMRllSza1vyFcdsJMzljIzCv7rGep7HKGl5xQZfrW0U8k+Sqq6Yb1qYX6mOF7Z9 djrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:to:from:dkim-signature :arc-authentication-results; bh=nLXSFDD0peVF/CaGpjJm+pvkAJRS5VbPuRA7lcyufcE=; b=CY2JzfTuBcUc9eGCj4zaHsRpRyBWpW161DWdPDuSRud72unlfOnZ8r0YA8NnynCqdk R8d0xk9EiI9F9iOJ1vrud1tC9PigbaavmqKSZ0jrwtoGo9lIc1sbbkcEKKHUF3XJe8ju hQ8VygdAO/DFK/OPokc20xltjDTSzd2X6g5L8y9ATjlS7zLQjQARLBBWkjYUTxitvn8A 8+ca+cI8bb8oVFCQEdB7tatAP+oAVcyTWmRtYzWAg9r3racpr2qD58M7qTN7l1UvbkiH itwhgrKaqoP+EAuRqoOQzU0pg7B2TOREE04Cfgz7SBuy9iB7FBX9F/w81dDe7rLsZBKj oYOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DFlX8ApI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si6794373pfe.63.2018.04.30.00.23.01; Mon, 30 Apr 2018 00:23:15 -0700 (PDT) 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; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DFlX8ApI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752151AbeD3HWg (ORCPT + 99 others); Mon, 30 Apr 2018 03:22:36 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:36849 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752062AbeD3HWd (ORCPT ); Mon, 30 Apr 2018 03:22:33 -0400 Received: by mail-pg0-f66.google.com with SMTP id z129-v6so1570221pgz.3 for ; Mon, 30 Apr 2018 00:22:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:in-reply-to :references; bh=nLXSFDD0peVF/CaGpjJm+pvkAJRS5VbPuRA7lcyufcE=; b=DFlX8ApI3l/bwKMbhWHR0B07dbQ+9cmHg6/gv7oOIQlRFFEcf06Rvjqj7QVEOt06ju oriQrBOWlXtRLhdbGZLhKo4941/dTy6/Ke6s0OgZneqyypruMLtbR05csqk0ssQf6Ld0 1IeIXtO4qbMmiu/ahju8olE/nY8TSCCktyi+R9qDmPdYZLVdKXpON7LCoO1dVcCreKVM jakBkYKEWw2s2AMQZk7NkrCSMYFRY/SazH7TgFqLg0uj7y36PgfLu/SupZREE5ed0uVk BnWGfnIT5lpr3DmgeNKg4AGBhSJPWr909j4MutaT2ZFb1A7fCKKGLs4tOF446mcscVDU koIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=nLXSFDD0peVF/CaGpjJm+pvkAJRS5VbPuRA7lcyufcE=; b=ArKtVDw9iuvUiGYvvpXiBEqkVqWpOEuz+p4lvrC202FuZx46o0cRCDgVoxPu1ufOBj fOC7NYbNw12BRovVuZyuZVNfLUnUr/OuYs1SVP3cN/hwEHJZyiJ/2xgS99aho+KXjupC OHgvN+UJSlOZDAqzUVJVt5BNflDy0UP6vS433YvOejgric6ihuaxxv1g9DWkTkqwps4k Txf+tsKI37OmpKaPfKnafQ8L30EENRBhxrCRxA6vLq1GrgdnbwvQD0h3AGRGN3Nzojjt NN25ItxJ20pMyfMIj1ogXdsvf5M2GSf2aOb9tP9M7GRMKYY29C+V3/+piXWqnDt1FBkU qHOw== X-Gm-Message-State: ALQs6tAxq7S3NG9WeVuviANRA20u3fJCyQE5WEtccrfhViUTP/Mjt0G2 ZcdL/9cjytiLh8nTLoYNL1xW9Q== X-Received: by 10.98.67.83 with SMTP id q80mr11062086pfa.228.1525072953178; Mon, 30 Apr 2018 00:22:33 -0700 (PDT) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id i2-v6sm12243108pgo.57.2018.04.30.00.22.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Apr 2018 00:22:32 -0700 (PDT) From: Greentime Hu X-Google-Original-From: Greentime Hu To: linux-kernel@vger.kernel.org, arnd@arndb.de, greentime@andestech.com, green.hu@gmail.com Subject: [PATCH 2/3] nds32: To refine readability of INT_MASK_INITAIAL_VAL Date: Mon, 30 Apr 2018 15:20:40 +0800 Message-Id: X-Mailer: git-send-email 2.16.2 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Refine readability of INT_MASK_INITAIAL_VAL with meaningful macro instead of magic number. Signed-off-by: Greentime Hu --- arch/nds32/include/asm/bitfield.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/nds32/include/asm/bitfield.h b/arch/nds32/include/asm/bitfield.h index c73f71d67744..28b7d797fd59 100644 --- a/arch/nds32/include/asm/bitfield.h +++ b/arch/nds32/include/asm/bitfield.h @@ -336,7 +336,7 @@ #define INT_MASK_mskIDIVZE ( 0x1 << INT_MASK_offIDIVZE ) #define INT_MASK_mskDSSIM ( 0x1 << INT_MASK_offDSSIM ) -#define INT_MASK_INITAIAL_VAL 0x10003 +#define INT_MASK_INITAIAL_VAL (INT_MASK_mskDSSIM|INT_MASK_mskIDIVZE) /****************************************************************************** * ir15: INT_PEND (Interrupt Pending Register) -- 1.9.5