Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1162505pxb; Fri, 21 Jan 2022 11:10:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrheA5PHPM32Hj5ejjRMUVHyQ5yZwGaDi1+FVMcLOKGEKN/bUYHRSg8yDr+nfVaaEshC4Z X-Received: by 2002:a65:498e:: with SMTP id r14mr3856835pgs.47.1642792239943; Fri, 21 Jan 2022 11:10:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642792239; cv=none; d=google.com; s=arc-20160816; b=OzPYg1+MnP8oWj8dhXR1CasY75sgmbKMayulIS+3YBH4YofcP6EpzzsRHyb8rSn9T0 xU7Mi5mvgxpq40WluwT4ldLLxIV0habW9elYJjMGTaid4FW/M6aMpZpPUihZB5ydcrTZ y27YPUKqM9wHE18wsRv6JU7FSRUMFlaMM0N1bF9WXJ+EH5q0v2R3vvevlAJm8OHCRh2C EfImLao2PfYRPQ+miF8pN0GxFU/T19+d1Ej345QhT1xuvwlvSu7U99g8QAKEPHDEUffE WfKIomnGteoGadRCdLFLQYWYcEUB+MFTGs2ZRZ4T9ttdJc0CL/0PG2DTgoHa3Z0HgJjh sHwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=iGXLB7QMM+POv2eZBIhw0G6HjJilZIENqM7niX24Hcs=; b=NndSKjgaTgtsfVvrI3wHYlBZy5HE314KgGT3/GymDGUZqsPFVJvf1ap8PwOZ2thlMn 7LjMs63+9Rw2eZyXf3hnOKxLP5sJgXD27EZjUn51bJTYE0Pt34V+A/meeDl7A5O+Bs9A labQHqxtrs4jDSqYWhzKzJBAkL0Q9Ehvn1GtPyUGQ19Ea/b5c07FCvIi8M/3y3Lp8+6R DgIsxe3JQJwqS9QYrGh7Rse+sP0iyy2mhdUcu/tRPxoZA1IMnf9sGOlCQn0DR8+LpbpR URQQhcBn60Fmp9rOJHIsDphnWVOFmNzxnJZlsVB1s4C7xrwxg1Xy8oXRwp2S5a6hmkrI x0gA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 33si8178229pgo.767.2022.01.21.11.10.27; Fri, 21 Jan 2022 11:10:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353989AbiASLGc (ORCPT + 99 others); Wed, 19 Jan 2022 06:06:32 -0500 Received: from gandalf.ozlabs.org ([150.107.74.76]:55807 "EHLO gandalf.ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346901AbiASLG2 (ORCPT ); Wed, 19 Jan 2022 06:06:28 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Jf2rd34Tcz4y3t; Wed, 19 Jan 2022 22:06:25 +1100 (AEDT) From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Michael Ellerman , Paul Mackerras Cc: Nicholas Piggin , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <247e01e0e10f4dbc59b5ff89e81702eb1ee7641e.1641828571.git.christophe.leroy@csgroup.eu> References: <247e01e0e10f4dbc59b5ff89e81702eb1ee7641e.1641828571.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc/time: Fix build failure due to do_hard_irq_enable() on PPC32 Message-Id: <164259036177.3588160.5245172703887799778.b4-ty@ellerman.id.au> Date: Wed, 19 Jan 2022 22:06:01 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 10 Jan 2022 15:29:53 +0000, Christophe Leroy wrote: > CC arch/powerpc/kernel/time.o > In file included from : > ./arch/powerpc/include/asm/hw_irq.h: In function 'do_hard_irq_enable': > ././include/linux/compiler_types.h:335:45: error: call to '__compiletime_assert_35' declared with attribute error: BUILD_BUG failed > 335 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > | ^ > ././include/linux/compiler_types.h:316:25: note: in definition of macro '__compiletime_assert' > 316 | prefix ## suffix(); \ > | ^~~~~~ > ././include/linux/compiler_types.h:335:9: note: in expansion of macro '_compiletime_assert' > 335 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > | ^~~~~~~~~~~~~~~~~~~ > ./include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' > 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) > | ^~~~~~~~~~~~~~~~~~ > ./include/linux/build_bug.h:59:21: note: in expansion of macro 'BUILD_BUG_ON_MSG' > 59 | #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") > | ^~~~~~~~~~~~~~~~ > ./arch/powerpc/include/asm/hw_irq.h:483:9: note: in expansion of macro 'BUILD_BUG' > 483 | BUILD_BUG(); > | ^~~~~~~~~ > > [...] Applied to powerpc/fixes. [1/1] powerpc/time: Fix build failure due to do_hard_irq_enable() on PPC32 https://git.kernel.org/powerpc/c/87b9d74fb0be80054c729e8d6a119ca0955cedf3 cheers