[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] x86/boot: Fix bootinfo.h to be standalone


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jason Andryuk <jason.andryuk@xxxxxxx>
  • Date: Fri, 8 Nov 2024 11:30:57 -0500
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=citrix.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XGTvyv61mwP7cHt5/X2xMHtqhRxVIDUbnyqPIu0C7z4=; b=SOFPk/wrIBB+BB6fcHf0bpyq+/uoIQKLo5ikfT3WiT/aoezJYy63YEc+M23ZYtAK3KAl40r/FxwI3ZCpmaeay/dI1aq36gu2sE7n3qM69qG8eFIzo9bFpmVvVqgC62W300msyKlpZjGcYqk1QdY3ALY9LlMQU5HYD4jyx1ekcgRK/3pX9IjiwXv101bS1WLgMgYzeOSxRNk4CVW8+FFU1huEeS/hO0nJGr+UIGWaBnBz9mAFx5iB67mnL5s7R96z4ozwXK2A4+TS8WquJJZdGcFpAxNdghVgPi1Tkk7XiFQaOela7u94xIVDP/OM6jg1Zlgk1nMhEoB0DWZjwW0j0A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tQgx12xz21/R+XVFwqw38ugiImW2ck7Pf4hCaDEk8Z8+4wdFj9s3F4kCp0AYcmxEjBCSB4f2kZ+ZWagm5h0MGMeiG5kradx7hmKuNOYT9vLjvQNo2Hac+e9nSABpqshKYOgrDUry2T/Q4eGM9NGpEM6ws71VVf5Yay94FuFmdGqQtwswfft9vCwTgMJmCMtU6JUghiM2ut1ik8GIVRz224Met1+JsWTNeSqQ21H+cxx1mQ0zjTBM0OzeY36IOyX6b9zqEpwK9bDNLCKK6eAHXr3pZpkZnDEoZQ8QsWkG1AWAzSA0tIZHEd7c1p8aifnfXay5KNgl+xY5RcNzK1h22g==
  • Cc: Krystian Hebel <krystian.hebel@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, "Daniel P . Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 08 Nov 2024 16:31:12 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 2024-11-08 09:12, Andrew Cooper wrote:
Work to rebase the Trenchboot patch series has encountered:

   In file included from ./arch/x86/include/asm/tpm.h:4,
                    from arch/x86/boot/../tpm.c:23:
   ./arch/x86/include/asm/bootinfo.h:88:35: error: expected '=', ',', ';', 
'asm' or '__attribute__' before 'next_boot_module_index'
      88 | static inline unsigned int __init next_boot_module_index(
         |

Fix this by including the necessary header.

Fixes: 74af2d98276d ("x86/boot: eliminate module_map")
Reported-by: Krystian Hebel <krystian.hebel@xxxxxxxxx>
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.