Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21233097rwd; Thu, 29 Jun 2023 12:59:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlHrN/Eh4DcKd1IxRYjFUvJFigpRIN+x6Qj1qW28GbCK8yT+vnf0zViRAMrcqh5ufaSu1uZy X-Received: by 2002:a17:90b:2551:b0:263:a37:fcc3 with SMTP id nw17-20020a17090b255100b002630a37fcc3mr457147pjb.5.1688068766788; Thu, 29 Jun 2023 12:59:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688068766; cv=none; d=google.com; s=arc-20160816; b=WCf5TJHv0YURSL1fwEaWut8bPoXbcSJs6zqwSZ+uOlw6rXIJKyFfq5qdDh9CQJqhCi 7Hq7V3S1zlkCfmR9XjUZn+M2D7DcI1qkSMFLgKldwmbnjiqdiNe19fe4FlGLkgAlqerZ lwy/SMzqg4eQiYFzSc/SqiYoEyqHK10fi7gKjLhgZEWDqfR1ojalse975vJRUdlNi/nJ pIVNSNq1W20CmzrOnwP3u9z25HVKS1RQpjULAxFTN1zd2m3Wm24KQktmMv8AN/99V3B2 Z7AnuTfrwyeRLrOXjJIPA6PZwrofilFydFlFX1BUeNr0TzW09Fd422cDHcladhk+R0Jy AQqQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=NSkn+f3VtgW8iSnk4GBxcuOfWg9o8pMcPa7iLptRigM=; fh=XI8gVM/Bpu2JYEl4y05KhQuZvriH2mW62vBoN09/u7Y=; b=mDPEpNmHRrcJ7shgj5VRbMSqTCBWXGxm1uaMo91rptvoxXAkbmrSuUUeOh6ooNuQeN rrVcHngjYyYobZ/+fu4T3OaThqE/ewBRkqdodFRSCNalIMEqtnhfmpCtxyerPQJw/Sk8 UCK0/RzCQq0M2QqtY26eAZLp3aUgc1l5tmnpA4qnv2meev66TEiKBTK+V1K6BKqX1nJI 0aRyEBMz5fRKFgCK/l5pC2LHsSIi/QzwCqIsUQ6FsrnmyEGsydkEZho47jJChy9TfZG6 DZqOjjZkmQJFa1YOEeSFm0ADWCr56tRM+aTKdoC1Ej6+yE1MWs9ObbuVaM8ltLmJlYvp BObA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=N3TWLy9U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r28-20020a63fc5c000000b00557622c1ca0si10777782pgk.554.2023.06.29.12.59.13; Thu, 29 Jun 2023 12:59:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=N3TWLy9U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230308AbjF2TuX (ORCPT + 99 others); Thu, 29 Jun 2023 15:50:23 -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-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: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@infradead.org Fixes: 7ca8fe94aa92 ("watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH") Signed-off-by: Douglas Anderson --- arch/powerpc/platforms/pseries/mobility.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/pseries/mobility.c b/arch/powerpc/platforms/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 #include +#include #include #include "pseries.h" #include "vas.h" /* vas_migration_handler() */ -- 2.41.0.255.g8b1d071c50-goog