Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2330715yba; Sun, 7 Apr 2019 15:41:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZbUHFh3xgQgWDVqIP/poe8W8eyjJ4vLamZF8hWKhkgq+A42lIiiZMWtUnV9FCct31YfjE X-Received: by 2002:aa7:8096:: with SMTP id v22mr26624271pff.94.1554676906532; Sun, 07 Apr 2019 15:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554676906; cv=none; d=google.com; s=arc-20160816; b=ZgTB0qP1eX+LU9gwf9DvqDaEb2pbPVjW2k/EQtTS+bcnH1RD99/NBk3CKwKU1eCxMI YO3Y04+aUySAJqA/3SKWPOdyXaKlyg7t23YyH7xZDkyMKJ6+oq7FlrVH0xxTcT/woaK7 6uPaRA7ORNTSBVY4LB+lAZi6z63pmBsJb90kEPgPr7U8Tl9Sk7yga4lKHBQdvvMK5U/s u5HC5GrAXs1Cs7hLoSgmj2l0SGNR7KISSUrnfyiP3AXEN6+q4NSSDw+wCjCWT2DK0SCH nh5HJ8dcFh1wnTg3amR9eJxztC7pvIW/7jxHXQQW5Rlp4IPB/UymC5V79fvPRYyKtEAr WCYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=X8EXZ5qThMOjV9sV+VwAPmZrIaIEEM/RLUZkQY7UG3Y=; b=G07aLD6TsT4nYC/XWL/1ZfJK0viX08wBufs5H2aeH0glLDfKmZmWx5HZ4+kmwhihEv Se+k72INZo2YbW0RbvO2Cm8SE25n1GVthVGybMqFkZuMHCJ+3HDHxCuX1YAA06XxsTAm GQa3wn/Md5RdtZ/i1J4Zpq+rKhYFOLsOWZ8gu0g+xzOgLk2PWkLtxVlbqoVAiXeGdh50 zYiIrrSxo1zRTyG+xedGD0Z/jy4AcqNP3o5ggiZ9on9ACTK5R1vAbhy6fGE2cpWMo50A CkU43t1aLT+39EYwL4kb1/aUpIsSMInQ/SWLXVxizfa5Y+3htOHv0AHnIGtdxeWcb0qr y0rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=E9q+sY+c; 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 v15si22442927pgn.296.2019.04.07.15.41.17; Sun, 07 Apr 2019 15:41:46 -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=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=E9q+sY+c; 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 S1726493AbfDGWkT (ORCPT + 99 others); Sun, 7 Apr 2019 18:40:19 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:37894 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbfDGWkT (ORCPT ); Sun, 7 Apr 2019 18:40:19 -0400 Received: by mail-lf1-f66.google.com with SMTP id u24so1115116lfg.5 for ; Sun, 07 Apr 2019 15:40:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=X8EXZ5qThMOjV9sV+VwAPmZrIaIEEM/RLUZkQY7UG3Y=; b=E9q+sY+ckQRg0z64ps4J4JwXm8OnD2dIoVw3BnumhU/vZYUjYJAMT0kZkHQuLenZj1 FEnp4s3qJ+wnbf7060Xb91cLB9hy0PXrYu94a8FWbh2eX7SrRVD63MTEwNrkXp0Nlh66 IoKtK5+5PHC6Tj5lctWhaJbB7w0j+sYlm9mIJLOXXl3IES3t1HEGDmAigdBDSzFm1YCd gJTItPVgH6hMo5BM9VY7N91K0oSXuucT553YxvLoNYPC01bnTC8Ku3XQgcYAxQ2sY54f 7buQrFu7DQOQEGD3PB3MFGKPaW26I6FoG6aoMFwuqpJBnvLMXNVc3bJFV/JO9ecTtEPo PpVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=X8EXZ5qThMOjV9sV+VwAPmZrIaIEEM/RLUZkQY7UG3Y=; b=VUtcWzTWeMS2gWBz8B4wqQnnZqIjz9S04/YkT/cBjeQlQSGSsx/JOcFH6x7om+62zt fdZmmHGK8yfhQbm4ueWKOpYIvycy4Qkx1r9exbY4RsE76RJ1JdwOFuf3XXSKfOcIqtAt 8MUVbvpoKdzc5WOjPQchT/ZUTWbHt0gRORorIJceFx4uV6b6iDFq/jnAxkTO2KlDCRWk pBBN4CKToZ7wQVfkGJaIGSAftGkGMyqWBDimQ1nWk0/7my/mL8hPvA7+ybtdeEE+zqau rRQFw0jDk28i3NFxVD7NrjrEXuNCWLOVKCUq62NJceRZHl6I+EDvOl1PnBDkBbWSo8jA yrjg== X-Gm-Message-State: APjAAAVhwOUzqxCE+FGg0NcFDzbmcU45e5R0K+mj6IiJEz+sqUlVZUx3 s9++FZL9EAaodS1sKx/EPkBeZA== X-Received: by 2002:a19:740e:: with SMTP id v14mr14140188lfe.94.1554676817389; Sun, 07 Apr 2019 15:40:17 -0700 (PDT) Received: from localhost (h85-30-9-151.cust.a3fiber.se. [85.30.9.151]) by smtp.gmail.com with ESMTPSA id k90sm6082482ljb.89.2019.04.07.15.40.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Apr 2019 15:40:15 -0700 (PDT) Date: Sun, 7 Apr 2019 15:30:13 -0700 From: Olof Johansson To: Arnd Bergmann Cc: arm@kernel.org, Sugaya Taichi , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: milbeaut: fix build with !CONFIG_HOTPLUG_CPU Message-ID: <20190407223013.2h7ac44l24g2dike@localhost> References: <20190313211935.646291-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190313211935.646291-1-arnd@arndb.de> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 13, 2019 at 10:19:16PM +0100, Arnd Bergmann wrote: > When HOTPLUG_CPU is disabled, some fields in the smp operations > are not available or needed: > > arch/arm/mach-milbeaut/platsmp.c:90:3: error: field designator 'cpu_die' does not refer to any field in type > 'struct smp_operations' > .cpu_die = m10v_cpu_die, > ^ > arch/arm/mach-milbeaut/platsmp.c:91:3: error: field designator 'cpu_kill' does not refer to any field in type > 'struct smp_operations' > .cpu_kill = m10v_cpu_kill, > ^ > > Hide them in an #ifdef like the other platforms do. > > Fixes: 9fb29c734f9e ("ARM: milbeaut: Add basic support for Milbeaut m10v SoC") > Signed-off-by: Arnd Bergmann Applied to fixes. -Olof