From patchwork Tue Nov 10 22:01:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 11895487 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EB5EF697 for ; Tue, 10 Nov 2020 22:04:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9049B20809 for ; Tue, 10 Nov 2020 22:04:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NlJ9XvyD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9049B20809 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 956A26B0036; Tue, 10 Nov 2020 17:04:03 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 907F76B005D; Tue, 10 Nov 2020 17:04:03 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7F5A16B0068; Tue, 10 Nov 2020 17:04:03 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0218.hostedemail.com [216.40.44.218]) by kanga.kvack.org (Postfix) with ESMTP id 531786B0036 for ; Tue, 10 Nov 2020 17:04:03 -0500 (EST) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id EC41F362B for ; Tue, 10 Nov 2020 22:04:02 +0000 (UTC) X-FDA: 77469887124.24.teeth65_2a04a9f272f8 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin24.hostedemail.com (Postfix) with ESMTP id CA4BE1A4A0 for ; Tue, 10 Nov 2020 22:04:02 +0000 (UTC) X-Spam-Summary: 1,0,0,aa810d2b6b592818,d41d8cd98f00b204,sudipm.mukherjee@gmail.com,,RULES_HIT:41:355:379:541:800:960:967:973:988:989:1260:1345:1437:1534:1540:1711:1730:1747:1777:1792:2393:2525:2559:2563:2682:2685:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3865:3867:3871:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:5007:6261:6653:7514:9025:9413:10004:11232:11658:11914:12043:12296:12297:12517:12519:12555:12895:12986:13069:13311:13357:14096:14181:14384:14394:14687:14721:21080:21444:21451:21627:21666:21740:30054,0,RBL:209.85.128.65:@gmail.com:.lbl8.mailshell.net-62.50.0.100 66.100.201.100;04yropaiqg5si17qeprs4dkmrsw6fopzcqt78eg7u9gwga413kbcqipzttzn7fr.mmrca6wn5qyi6xzijj8nm6zq8zihtgexzo93hriay3a9n5cq665ch57cipbqwqq.r-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:148,LUA_SUMMARY:none X-HE-Tag: teeth65_2a04a9f272f8 X-Filterd-Recvd-Size: 3709 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by imf15.hostedemail.com (Postfix) with ESMTP for ; Tue, 10 Nov 2020 22:04:02 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id 19so3173746wmf.1 for ; Tue, 10 Nov 2020 14:04:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=B0CXBxq6ZAXd5FkSitRtEvhYhUL6Gbj9G7WXdfEnSfk=; b=NlJ9XvyD6Efjbam4XOZs3RdXp05ThhueT/ZaAfUoMKZX64pwW0As4AmFTNl6g2zWJe wC5Bm3hw9m34pBqCwFvj16pMRJXAZdl5lMy3aYrkBb3PY7NT7GsiBrira9QCUNs4daIK /M1HUogRRusuSeQTPHUeg/mysiRlHVJXQv9KehIJka2f/8NGYnMvolZcekdO9xzTKv6X +DO7J0053yEKhnQYdnLLPHguoU6Svfj1zOiTF19paXgHIRfDn66UVo3+MGB+wDug3qHF QwJucbv+8toosdND8+bY/PFs196LPH14nzauL4IG6rQmDulhc5jH3nimS0u1aODDfkxu yL7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=B0CXBxq6ZAXd5FkSitRtEvhYhUL6Gbj9G7WXdfEnSfk=; b=iJJHn7KRh0cUiMIKicP8UWe8BoiJlCoqBJCtJC7KtaoG9aW/FkSFviSRuiZQi7Y3tv NplA/a+tdOM46gOt7PltBuCxTMAWhU6jx0SJ4UmA4WwXzwjURRqE2o7z8yBL3nsoF0q+ wPzyFg5+n7MvDucZXyJakLcoAncybjWYgArrzh/t5hGUDplNgdDLGCTnIP00aETVwoQB +G3HC/HW22Tkw1F8j6k5VCsuzBZ6U53/MvV+SsCw1uzNTqV5BGEIjxPWHPZEGmO7ckp1 7M7lxAwFSYUnGbjGWgpfEzEBd2M4HJObqjeTJw81YY/NC9tOHvlF/SIvWi9mBGL9qIVD ZCUQ== X-Gm-Message-State: AOAM53221C6NgJhLZfAZ3Ng8PC/wHYiazMMcjCrJuq7mQ1q2HNBhwcPq IT5H1sf2LXckAg6Ed+v7OxU= X-Google-Smtp-Source: ABdhPJyz+xBEcEYwW9IfiVU8hWIVZxGrSztwXDgxqYIFVTdPC+YiSm8Styk/xnzgJ7tM7nCJMYx1nA== X-Received: by 2002:a7b:c845:: with SMTP id c5mr191433wml.135.1605045840978; Tue, 10 Nov 2020 14:04:00 -0800 (PST) Received: from localhost.localdomain (host-92-5-241-147.as43234.net. [92.5.241.147]) by smtp.gmail.com with ESMTPSA id v19sm79099wrf.40.2020.11.10.14.04.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Nov 2020 14:04:00 -0800 (PST) From: Sudip Mukherjee To: Andrew Morton , Stephen Rothwell Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org, Sudip Mukherjee Subject: [PATCH] mm: fix build failure with xtensa Date: Tue, 10 Nov 2020 22:01:51 +0000 Message-Id: <20201110220151.20911-1-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 2.11.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000009, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: If CONFIG_ZSMALLOC is enabled with xtensa then the build fails with: mm/zsmalloc.c:43:10: fatal error: asm/sparsemem.h: No such file or directory Disable CONFIG_ZSMALLOC for xtensa as xtensa arch has not defined sparsemem.h. Signed-off-by: Sudip Mukherjee --- Build failed with next-20201110. Build log at https://travis-ci.org/github/sudipm-mukherjee/linux-next/jobs/742793855#L13375 mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/Kconfig b/mm/Kconfig index e8587f6bf29a..5b9426ba5e6a 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -698,7 +698,7 @@ config Z3FOLD config ZSMALLOC tristate "Memory allocator for compressed pages" - depends on MMU + depends on (MMU && !XTENSA) help zsmalloc is a slab-based memory allocator designed to store compressed RAM pages. zsmalloc uses virtual memory mapping