lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201110220151.20911-1-sudipm.mukherjee@gmail.com>
Date:   Tue, 10 Nov 2020 22:01:51 +0000
From:   Sudip Mukherjee <sudipm.mukherjee@...il.com>
To:     Andrew Morton <akpm@...ux-foundation.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>
Cc:     linux-kernel@...r.kernel.org, linux-mm@...ck.org,
        Chris Zankel <chris@...kel.net>,
        Max Filippov <jcmvbkbc@...il.com>,
        linux-xtensa@...ux-xtensa.org,
        Sudip Mukherjee <sudipm.mukherjee@...il.com>
Subject: [PATCH] mm: fix build failure with xtensa

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 <sudipm.mukherjee@...il.com>
---

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
-- 
2.11.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ