From nobody Mon Feb 9 16:34:10 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E01B3EB64DD for ; Thu, 29 Jun 2023 19:50:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231208AbjF2Tu2 (ORCPT ); Thu, 29 Jun 2023 15:50:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229609AbjF2TuT (ORCPT ); Thu, 29 Jun 2023 15:50:19 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 230CE210E for ; Thu, 29 Jun 2023 12:50:16 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1b80512a7f2so7515885ad.3 for ; Thu, 29 Jun 2023 12:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688068215; x=1690660215; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NSkn+f3VtgW8iSnk4GBxcuOfWg9o8pMcPa7iLptRigM=; b=N3TWLy9UHAFofIUARTltvFgjNeQgaQvAIEBNMAqc1xSyjJdiQgcwLXuWdFGd7wN4tp kGY7IMbjQYgNboxa6wD7E8gDVu7KhqN9Nt33ogvwIx4kMSZTNpJLfz94RIiT3ocZQ1Rh QrEsLxEXUZnMh5D+4+VabuihtkZhD+oJV+LZM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688068215; x=1690660215; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NSkn+f3VtgW8iSnk4GBxcuOfWg9o8pMcPa7iLptRigM=; b=E23lJizkU7Y+3jRxw6WRDT2hz/Sj3btNJOwAmBsMUrfBUHZkKI7FwDtsEM5Ndu21ln 8LbEiR8UELaxn6xElA9QeDGX698foSuEFZUNb1QwC4BPdRZn5jfcAzdE2245v27uCwhX mG+gE0VlS3i1lYJ1L7wpwFycEGjLQPhbOmbeYT3DTPtSSVjBn9SQCly5B3NDC+PD6wW7 UgEdIlKL26br5E+LJRdxs5aQAgpi9mjSNkMtaJ44cn+RieSgDu1Bngr9cVzEA9MuWSzo mEdny8YtZTc9+Lqe2hgpOXftST1jF9HdlvvlMtc7QsBaq+hkVxO45iWV/8GsDV/fEc3g TJKg== X-Gm-Message-State: ABy/qLb9scngv4hHuNVd17nwSInRqY1+9v9DxK7NeE21gSeyQ+vqtmpq A5wnvuew61vRVIT61BAdAwiLiQ== X-Google-Smtp-Source: APBJJlFSWmGAW+1tvAAziG9cxk1yhnOVZ9XXdrNb1iN8TJ+5MAEK2Utl/WqMd0L/kGZSeOMv40GaBg== X-Received: by 2002:a17:903:2444:b0:1b8:64e1:7b05 with SMTP id l4-20020a170903244400b001b864e17b05mr145905pls.47.1688068215666; Thu, 29 Jun 2023 12:50:15 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:1f8f:4afe:ff0:9243]) by smtp.gmail.com with ESMTPSA id u13-20020a170903124d00b001b3fb2f0296sm9457505plh.120.2023.06.29.12.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 12:50:15 -0700 (PDT) From: Douglas Anderson To: Andrew Morton Cc: Randy Dunlap , Michael Ellerman , Douglas Anderson , Christophe Leroy , Greg Kroah-Hartman , Haren Myneni , Jilin Yuan , Laurent Dufour , Luis Chamberlain , Nathan Lynch , Nicholas Piggin , Petr Mladek , Tom Rix , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH] powerpc: Include asm/nmi.c in mobility.c for watchdog_hardlockup_set_timeout_pct() Date: Thu, 29 Jun 2023 12:45:06 -0700 Message-ID: <20230629124500.1.I55e2f4e7903d686c4484cb23c033c6a9e1a9d4c4@changeid> X-Mailer: git-send-email 2.41.0.255.g8b1d071c50-goog MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The powerpc/platforms/pseries/mobility.c calls watchdog_hardlockup_set_timeout_pct(), which is declared in . We used to automatically get included, but that changed as of commit 7ca8fe94aa92 ("watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH"). Let's add the explicit include. Reported-by: Randy Dunlap Closes: https://lore.kernel.org/r/af19b76d-aa4b-6c88-9cac-eae4b2072497@infr= adead.org Fixes: 7ca8fe94aa92 ("watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH") Signed-off-by: Douglas Anderson Reviewed-by: Petr Mladek Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap # build-tested --- arch/powerpc/platforms/pseries/mobility.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/pseries/mobility.c b/arch/powerpc/platf= orms/pseries/mobility.c index cd632ba9ebff..0161226d8fec 100644 --- a/arch/powerpc/platforms/pseries/mobility.c +++ b/arch/powerpc/platforms/pseries/mobility.c @@ -24,6 +24,7 @@ #include =20 #include +#include #include #include "pseries.h" #include "vas.h" /* vas_migration_handler() */ --=20 2.41.0.255.g8b1d071c50-goog