From patchwork Thu Jun 27 07:00:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 167883 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1944603ilk; Thu, 27 Jun 2019 00:01:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRvIhYNqveqhDyiIhU2xxDeLZocPtgrfbeL+59qmmO6lNwCuI60knzznTaGbLcDhwKRunz X-Received: by 2002:a17:90a:6097:: with SMTP id z23mr4125292pji.75.1561618887769; Thu, 27 Jun 2019 00:01:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561618887; cv=none; d=google.com; s=arc-20160816; b=XGEbLd8SRz6nzMYmSMwVsqbB07d/izRVxJYwkZXG+LxjOvhUBX5Q+FHotyzLgSPxZw Gq5SWpB4VgyIK6b6t72nZZ+6IXxAfmY3ty2nfWwWyqRj5BgZjkpTh7Y7nDN/i6qYIrnp P25DrfIB//qsFFacMRAo6bjC2teOEKO2QDBaF0df8LHVI9sk/GjX0sTII7PREdNlhN9f dkmfqh9ovRaRlJYo/BX+A0s8pG+tsb5+9ZDl1w/LV53oirHunswaRmvLa1QGX+L8syEh gyqyw/3v7U3I+uAbaqMO90j0IqDFwx3yU8AukKDQpzD5OIjrwLDxCKwsxm2jfCuD7X8h gUng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=2WtcVjUdFNU96Xdu1YNSVP+5GinJ2kBLenYIkkCWbwM=; b=D17SWoSNLiWkov5ow7vnxOcIYflqRMTHFhbUUdyvxiJFwW+yq6ZA0UtCFrr07kdFnJ 80SbLG/x5XHuZqHagXZdul6lhd7XXCAhxyeULihR4ViFryRL3rMpdjS5RKGQBtNQQsyI iGNVG1FyLH78wvgDM32oinjUT3Olevf1224XvJUBgzeScR5kMlmMmAkN/YdxK5wYK80g lMqON5VeS2F1bOIZSCUH/RqeRB81cti75/ny5Y9UfEWOrkfb2cxlwiAs/N+REtZGsvP6 xfA5FriHEAtqiVwq3r6x6kY7CCPeDw0mbHf5MDpErPNYJgT9DHEH0yiLCI0jmwGr/Dci XbeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="VfW/ULwk"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a21si1735885pfo.249.2019.06.27.00.01.27; Thu, 27 Jun 2019 00:01:27 -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=@nifty.com header.s=dec2015msa header.b="VfW/ULwk"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726408AbfF0HBZ (ORCPT + 30 others); Thu, 27 Jun 2019 03:01:25 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:46372 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725787AbfF0HBZ (ORCPT ); Thu, 27 Jun 2019 03:01:25 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id x5R70rKi019787; Thu, 27 Jun 2019 16:00:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x5R70rKi019787 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1561618854; bh=2WtcVjUdFNU96Xdu1YNSVP+5GinJ2kBLenYIkkCWbwM=; h=From:To:Cc:Subject:Date:From; b=VfW/ULwkq47zMMRwLj5Ionh/9KmNlX5BctOTOrXiVZ/p9Nv9WwNMa/c7bRkbkUsx8 QOJmk41YudOG1XpTvHu/2zwPJRmPy4pRAw4wDgKrn51v3vca+3YmKLMA/hTXE6Gmrf LT/ZJZ9woifg8S/EUwCk10ou2pM5iB9vPSz8pGjiqQMHK5VRna6xhDes71rYElwp8y wr38yhll1XuD6C6ozejsbxY55/V6xpjV8kFA9TeTUW1YAkHl7kfKt7woUfLkVWqCj9 W6KbxsfmU16+JlZY1YSXVxdf5Hn9XoCB0qSiNM/C5XPpPjAVn3PZdAmPvfa2RJ+ubK ufrPZUwCfxsNA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] xtensa: remove unneeded BITS_PER_LONG define Date: Thu, 27 Jun 2019 16:00:52 +0900 Message-Id: <20190627070052.8647-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Xtensa does not define CONFIG_64BIT. The generic definition in include/asm-generic/bitsperlong.h should work. Signed-off-by: Masahiro Yamada --- arch/xtensa/include/asm/types.h | 8 -------- 1 file changed, 8 deletions(-) -- 2.17.1 diff --git a/arch/xtensa/include/asm/types.h b/arch/xtensa/include/asm/types.h index 2b410b8c7f79..44f411c75837 100644 --- a/arch/xtensa/include/asm/types.h +++ b/arch/xtensa/include/asm/types.h @@ -12,12 +12,4 @@ #include -#ifndef __ASSEMBLY__ -/* - * These aren't exported outside the kernel to avoid name space clashes - */ - -#define BITS_PER_LONG 32 - -#endif #endif /* _XTENSA_TYPES_H */