Received: by 10.192.165.148 with SMTP id m20csp1495256imm; Sat, 5 May 2018 13:38:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpqEaWiP21XzshHjSTiVS9hNVo3ivLbF6xhbXB4nbrxYhxpRbYRf6o/HWHTqkYhHvIiifOr X-Received: by 10.98.89.89 with SMTP id n86mr30237106pfb.217.1525552710212; Sat, 05 May 2018 13:38:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525552710; cv=none; d=google.com; s=arc-20160816; b=OThXz76P0D9hgPip5JITtfvHrHzDssDHFBbuziMcPWmxct3vcFrx8C03KNNKbicUQ/ 5Ls8m+8FpsKRy2ZfC2kOpAZ1FUB0ccidR2TT7NemWF7OgFNTUSoeQ+Xh1etEQS1L5K1t 0k/StVVRdFp/TsG1EK7CFahEQlbOs5m5QlnTyNl6DQ9zFg3uvPUKXVYrkQFYdf3pC+yp ONQK/dNKLf8PP7Q+gzwn3sVvvmyv4nwDdIVNgT1PeAntKuVWH9t03oDY4qMJ77lfCQOX uOpxvTBxRxKPmtXyxZmF1yOh5W99Za7mdPyrbqIJAqaDBh7Rw1FWlqCjctkmol8IZTjJ lq+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=+rgAg5Ws0wAPdr8hDY1MSiDGVhYVS66MIHMYVs0/sSk=; b=iKN06U7LiQZmZ736NWILpm28wou1/mog3xWl8Is4GVQuLZVSD0i9IUTYUsR/vxoa7Q D0SrkwljYGSX4jgfzJYUDMGpTLSVE3gnTAZ21+mtNfMRXNLw36dIumZeQ4I32ooSbtnG RNZ/CzcqfiU8CPIDYV8ooZN+1/0Tl84AXd7gINeTbnn60E0gklmtm4VkrK1MTRk6lYgc 4XrAaQkr0d79qbDTbFfBDURUiZdBKyVt0qwdV5m/AE3o6wpuOhx7zkSVBwMhLWrXO7Sr 7d2qFAmodNDOwsks1wXLYaLXbZGb4kYaF9wbBNJPfYjJNLMpxXqr9p7qa0o4yrHgfgUu 528g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=RbtSb/1D; 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 k189-v6si15265540pgc.388.2018.05.05.13.38.15; Sat, 05 May 2018 13:38:30 -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=fail header.i=@gmail.com header.s=20161025 header.b=RbtSb/1D; 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 S1751896AbeEEUgP (ORCPT + 99 others); Sat, 5 May 2018 16:36:15 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:46542 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751875AbeEEUgN (ORCPT ); Sat, 5 May 2018 16:36:13 -0400 Received: by mail-wr0-f194.google.com with SMTP id o2-v6so21318880wrj.13; Sat, 05 May 2018 13:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+rgAg5Ws0wAPdr8hDY1MSiDGVhYVS66MIHMYVs0/sSk=; b=RbtSb/1D+nqVrAIvNlNEHQiHCbOnK0U/j+wCNIBCOcTOBQr5ZrV4Nsza7IpqUin8pC I4BYUcZ/y/IiD630EBTl+rlLyf+ncTrLUCO28hb3gEkyaCH2GrDNyvQYAz3ftwFMBxrR quxj35jbCkfIHxXxo9pIWaVJwQmJCLCfSEYZXwlmt8zMnRBsxCJuSVbFpLiyd9O5DJhW ElH0TWXo/rwsd846fQ8Na2ZD1kDdd82XB/5HWivr4o7wgr6YRdTltTcpP1bG7GVb1qyG O28r+QwfHuqeBPS52KDKoyOKHFN3wliB/ZfiA1H52wiuMpxP/ZAxWO3IXiKIPJQ4BGiF gTRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=+rgAg5Ws0wAPdr8hDY1MSiDGVhYVS66MIHMYVs0/sSk=; b=ZprJErqI/cIaPfs9oL/zWb3If3uglrZy1ZkpqUYrVnCKztiP532WOXuIipNoF9JQWB qUFDPbT+WjdHgSYDY+HlNPrYrJyj/Mjfr5crCpaCDUg0tNu/XqCk/gs0ROAXf2ZizhNG jcNds+zCexF5AV7/auBBDLM6j+k/n+G6U+xZVsnxwoUFbrr+i8DWQzWDqC3zKvt3X0Ed AnjMlt28CI6p5KkZ5BwIntbvIh2SBc0IqsHB7YE+7kHBBeqW645JfFfzhEmYMx+500FJ amCnRrYZiNL3DQLM7ci+nB8Crn1qkBi9/9uBtyN2mEOm9u65BbcGnHlymwd6kvr9eC9J eXEQ== X-Gm-Message-State: ALQs6tCJPEu3YKGHBRIe5QuQ7Ok8W5v4w+lpSmBSepZvA0yyXMhVjUS1 xy2lPfgE0NEj2ZACrwes0NA= X-Received: by 2002:adf:b88f:: with SMTP id i15-v6mr23583275wrf.163.1525552572136; Sat, 05 May 2018 13:36:12 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-226-121.fbx.proxad.net. [78.225.226.121]) by smtp.gmail.com with ESMTPSA id u10-v6sm5401471wme.12.2018.05.05.13.36.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 May 2018 13:36:11 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 0FCB010C0604; Sat, 5 May 2018 22:36:10 +0200 (CEST) From: Mathieu Malaterre To: rjw@rjwysocki.net Cc: Mathieu Malaterre , Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] =?UTF-8?q?acpi:=20add=20missing=20prototype=20for=20?= =?UTF-8?q?=E2=80=98arch=5Fpost=5Facpi=5Fsubsys=5Finit=E2=80=99?= Date: Sat, 5 May 2018 22:36:03 +0200 Message-Id: <20180505203603.4071-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In commit e7ff3a47630d ("x86/amd: Check for the C1E bug post ACPI subsystem init") a new function ‘arch_post_acpi_subsys_init’ was introduced. This weak function can potentially be overridden on a per arch basis, introduce the prototype for clarity. Silence the following gcc warning (W=1): init/main.c:484:20: warning: no previous prototype for ‘arch_post_acpi_subsys_init’ [-Wmissing-prototypes] Signed-off-by: Mathieu Malaterre --- include/linux/acpi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 15bfb15c2fa5..cb4d7b6b085c 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -578,6 +578,7 @@ int acpi_match_platform_list(const struct acpi_platform_list *plat); extern void acpi_early_init(void); extern void acpi_subsystem_init(void); +extern void arch_post_acpi_subsys_init(void); extern int acpi_nvs_register(__u64 start, __u64 size); -- 2.11.0