Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp538631ybh; Wed, 18 Mar 2020 04:43:23 -0700 (PDT) X-Google-Smtp-Source: ADFU+vstihDyCzTVhsDJ3AGUO9SF6jE2ozIypefOMp1iWisWxvrUd1XH+loHKVnz6AFfvrZEhxJ9 X-Received: by 2002:a9d:6a91:: with SMTP id l17mr3536555otq.29.1584531802954; Wed, 18 Mar 2020 04:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584531802; cv=none; d=google.com; s=arc-20160816; b=VAYe8Bytjn1RXFHtiEHnei1WYmcBoMG9p/mqJy02153tsEEpyrqo/s5TpEflrAGzr1 FLCa+yT50Ko3bW4RzHr9gEURGDpRfyPMoGQx0ZAVnQPPlmjwvkP8wZUZwagc5q0tQwsg nBg42iVPHFq0YQSALReCLNwrC4nluqMNNs+UXVGOuXmzTrhWe6OZ09jz6qWp/9C5KEqC K6PXjo+SjVSA36cb7hUHsYRpdNyrV4JqxHb0Y2HPb0gVbpRG7F6zA63v9T7lXng4zQ7t 0SETHAEJhEjlNBN+9HlP0lhR7sHiQORiIOcBI7GoJ/jELjmcFSMv/X+r7Gq4oZ1BII1j EQag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date; bh=6jR+eagFLPsqit/4KyHZLW4ZgyZsQFO0gHLr9gVjink=; b=oIL8+Z+abWX985bNXsHWNBKRgI7Kxk2T1eJOYYoBHr9n7iQb8tzZb7/WCUzeRRPCyS gGvSZuyWarw/OFB0pmrH+edV6/Hqax0vnEyFqyMtONQM0NS4PlMW+VCmi3OpdciFWDwn UgqSkqFd9Fgr5/fgDqa4TbCTPFzn/6d8yWZkUcdv8pupvqlS/kMIKohDLEP/gGECPrik bQpUkLL0uNJgqHAcQWUgK/CT6ytFPhzgjbUgX7C9TFLdRougKlJkNf4b06NlSIIDyj9Y aHdRDJ6bwM3oPFdHP0RpVa3PcdJv28wYTnRk5FX3T6iuXAAsieIRP6uHRkoREjqJUejC ndog== ARC-Authentication-Results: i=1; mx.google.com; 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 n190si3276578oig.207.2020.03.18.04.43.10; Wed, 18 Mar 2020 04:43:22 -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; 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 S1727132AbgCRLlN (ORCPT + 99 others); Wed, 18 Mar 2020 07:41:13 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:56844 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726894AbgCRLlN (ORCPT ); Wed, 18 Mar 2020 07:41:13 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 0F1E2FB03; Wed, 18 Mar 2020 12:41:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OTVONGkV4vui; Wed, 18 Mar 2020 12:41:10 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 8E411412BE; Wed, 18 Mar 2020 12:41:09 +0100 (CET) Date: Wed, 18 Mar 2020 12:41:09 +0100 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Roman Gushchin Cc: linux-kernel@vger.kernel.org, linux-next@vger.kernel.org Subject: linux-next build failure on arm64 with CMA but !NUMA Message-ID: <20200318114109.GA65068@bogon.m.sigxcpu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Roman, 882d60d2ce725381236a158204d7ec13ff19ab25 in linux-next broke compilation on arm64 CMA && !NUMA like CC kernel/irq/irqdesc.o mm/hugetlb.c: In function ‘hugetlb_cma_reserve’: mm/hugetlb.c:5449:3: error: implicit declaration of function ‘for_each_mem_pfn_range’; did you mean ‘for_each_mem_range’? [-Werror=implicit-function-declaration] for_each_mem_pfn_range(i, nid, &start_pfn, &end_pfn, NULL) { ^~~~~~~~~~~~~~~~~~~~~~ for_each_mem_range mm/hugetlb.c:5449:61: error: expected ‘;’ before ‘{’ token for_each_mem_pfn_range(i, nid, &start_pfn, &end_pfn, NULL) { ^~ Reverting that fixes the build for the moment. Would making all of this dependent on CMA && NUMA be the right fix? Cheers, -- Guido