Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1717064ybd; Thu, 27 Jun 2019 00:01:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUTD0XSpDeWiafRwWnpWoxU6m4iW3L1xA6K2etUhjSlGBFELBmrFgDjd77K93ctqoZ78V4 X-Received: by 2002:a65:538d:: with SMTP id x13mr2293313pgq.190.1561618907717; Thu, 27 Jun 2019 00:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561618907; cv=none; d=google.com; s=arc-20160816; b=ZMWsjKIPeJWwD3JKTcZQnxu4fG/RUjUekDYbt1t4EUwJrd0228jTEi7YR+HyOq+FCe zLgNRu5r2svSyficsxFv9QGpt7y6VimIBJL7MX6jpDzaH16wTM2t9qf9TTLggWtAMMvY i/IqRDG8X7X1ulH9R6yc1MHkIJb1t/H93VnbaYWhhvI6CJbSUAVLg/bOefk6P/uQeB/m +fcFHHdtz8CW0y6Tn07rZxPUslARTUrlHIfEYrB847CF6014in00jbdcvnDPgWFUhRCU h/yCukOZSsTUGD2tDUvszIYEWklz7Z1k+282uHEPIiKJwjuuTqubw8fagd5FgHHfrOIO HYoQ== 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 l191si1447487pgd.35.2019.06.27.00.01.29; Thu, 27 Jun 2019 00:01:47 -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 S1726370AbfF0HBZ (ORCPT + 99 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(-) 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 */ -- 2.17.1