[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: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 8 Nov 2024 13:11:44 -0500
  • Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=apertussolutions.com; spf=pass smtp.mailfrom=dpsmith@xxxxxxxxxxxxxxxxxxxx; dmarc=pass header.from=<dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1731089507; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=WTRvt10S0XSQbGAcLZDMZCSbdE1ek9NvEvcIu4QFdEc=; b=jgFSrtE6rWBUl2E4Wc/DckCc8tTKuMNZzNnPYJ8XxXiDClZngDiJ61vjkjayvoDYLTdJe5bBVJ5ZmDyABf77mwkofMb53wqhFwJ4wCIODkZJPHo6iVkqx7NdX6+ZfpdDj7jXOcRhi7G7sIyvxG9TjULFotI8EYPDt+fiJkrmYVc=
  • Arc-seal: i=1; a=rsa-sha256; t=1731089507; cv=none; d=zohomail.com; s=zohoarc; b=KMT4sawYA+b39pOu2UPWfQ50MCSAyf4UQcYnpTd4k3ZiyFi8VJ7nGfF//uCdynbA3vsTLRM+P1C1t/DvfnASMcUsnUiJK4xTyrcEJMKcvDFBZXX/+4zLLInXgynMWBWA34fsAKOxPXAFwjgEfHuU8NvM7f/5DP1QB1qQ0riYiVw=
  • Cc: Krystian Hebel <krystian.hebel@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Fri, 08 Nov 2024 18:12:19 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 11/8/24 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>
---
CC: Jan Beulich <JBeulich@xxxxxxxx>
CC: Roger Pau Monné <roger.pau@xxxxxxxxxx>
CC: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
CC: Krystian Hebel <krystian.hebel@xxxxxxxxx>
---

Reviewed-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>



 


Rackspace

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