From nobody Thu May 9 01:24:41 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1705505916; cv=none; d=zohomail.com; s=zohoarc; b=Nn/3fF0tUHmGrvtH8yLpop9xUE1R1Usi/QfTKOpfIQBPtDUcHn5uTniFiXtPaVThhk1JveXC9n92+IpIt0fSU3VpFuYuAH4g7me39RnPY81SYdGS3H96WEDRjtzvtCu1X4L7uzLoAqhgmkH7hQVeOb/23qpG22VNy+VkhU9IuWs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705505916; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=RFS/3qL+yKn0NP9eT18tNMMi6NeJM2kpDdrVktzGmHM=; b=fDh850hrLvN6BWg+RIVcXxQ+AVXhK4UWZhTLLp2DlyrFySR/jg5cBZZvRvujW1kU74/ukClDnEo6FcVU2Hxu7M+ADnW1DJwo0mEydhhA7nEh0UDs4Ef3iVqvrETclZJBTOkqtB6CZnT9WGnLTfI4jAwVMhkhH8N5OVGei2x3tmw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1705505916484445.8942462427441; Wed, 17 Jan 2024 07:38:36 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.668520.1040770 (Exim 4.92) (envelope-from ) id 1rQ7zX-0000Bw-5y; Wed, 17 Jan 2024 15:38:11 +0000 Received: by outflank-mailman (output) from mailman id 668520.1040770; Wed, 17 Jan 2024 15:38:11 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rQ7zX-0000Bq-17; Wed, 17 Jan 2024 15:38:11 +0000 Received: by outflank-mailman (input) for mailman id 668520; Wed, 17 Jan 2024 15:38:09 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rQ7zV-0000BO-P6 for xen-devel@lists.xenproject.org; Wed, 17 Jan 2024 15:38:09 +0000 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [2a00:1450:4864:20::12c]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 695cfbb2-b54e-11ee-9b0f-b553b5be7939; Wed, 17 Jan 2024 16:38:07 +0100 (CET) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50ec948ad31so11250730e87.2 for ; Wed, 17 Jan 2024 07:38:07 -0800 (PST) Received: from localhost.localdomain ([217.156.233.157]) by smtp.gmail.com with ESMTPSA id x25-20020a1709064bd900b00a28f54aacf1sm7929097ejv.185.2024.01.17.07.38.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 07:38:06 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 695cfbb2-b54e-11ee-9b0f-b553b5be7939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1705505887; x=1706110687; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RFS/3qL+yKn0NP9eT18tNMMi6NeJM2kpDdrVktzGmHM=; b=uaZ3i/xH6rvMq7OTlsyNl5EAsvDU7VqlqE7EBByun9tfagSVtZq8iGVN2QBAL8DW2K hQF2qlcibjx7pINuasB6FKvleWqgcFNy3aqTmOq6E1bpPLG6ChoDhv3XUsxczFH+vkAy TtRbQI0vFDJVJKhVq71JYSeM3D5hfyaxi03GA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705505887; x=1706110687; 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=RFS/3qL+yKn0NP9eT18tNMMi6NeJM2kpDdrVktzGmHM=; b=D/IbTfc0i+0C7zH8U3tCvO5y92szcH85xQh6J/oWDOjCSonrUS3u0tuJk4QtKvPH9F bQpRPSAxcpCkY6eswJ4h/wMvkA7dzLOOuHf8+JF/ytao+zQN07GO+GPsgCtFD+jeS/o6 gfg5/qQzb7iNzuTgpC1D/2hDrCNwYHaWv4PK5FMHspzEl00moHmzWKYcDG2R6w17NIke apJAVi0CUBc4mv/dJtZ2pctmpocQLs6CGqwLKxzhUOmc5I7Q5t8PHj5Gkp3J5l2VdCCB Q5GzBR1zkRFW+jeKhqHkWG/yEJjb/R7/1EXWbXoans+bk0HfUPMVl754WehZu8L+LXaR GIaw== X-Gm-Message-State: AOJu0YzWTkO62axzM7FC1tC/Cteo/q1dvQ36+pDJTBb6Ep0Kq1Tg8ALm O+XaCyegnCrxQxqWjrIvV4u0czNOHQvhdQ== X-Google-Smtp-Source: AGHT+IH7PyYb5jrwjPkiaxS+uIuZhoZ2bjMBmBmjY106nCfrwQcQSXaE6ucyPjLngHAA7bNitlrhnQ== X-Received: by 2002:a05:6512:6c5:b0:50e:b265:be94 with SMTP id u5-20020a05651206c500b0050eb265be94mr5279023lff.118.1705505887092; Wed, 17 Jan 2024 07:38:07 -0800 (PST) From: Anthony PERARD To: minios-devel@lists.xenproject.org, xen-devel@lists.xenproject.org Cc: Samuel Thibault , Juergen Gross , Anthony PERARD Subject: [MINIOS PATCH] x86/mm: add EXPORT_SYMBOL() for `pt_base` Date: Wed, 17 Jan 2024 15:37:45 +0000 Message-Id: <20240117153745.29515-1-anthony.perard@citrix.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1705505918074100001 Content-Type: text/plain; charset="utf-8" Without this, building "ioemu-stubdom" fails on Debian Buster or Bookworm, with: /home/osstest/build.184372.build-amd64/xen/stubdom/mini-os-x86_64-ioemu/min= i-os.o: in function `xenfb_pv_display_init': ungetc.c:(.text+0x43533): undefined reference to `pt_base' Signed-off-by: Anthony PERARD Reviewed-by: Samuel Thibault --- arch/x86/mm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/mm.c b/arch/x86/mm.c index 767a5f0..be1cf0c 100644 --- a/arch/x86/mm.c +++ b/arch/x86/mm.c @@ -57,6 +57,7 @@ unsigned long *phys_to_machine_mapping; unsigned long mfn_zero; pgentry_t *pt_base; +EXPORT_SYMBOL(pt_base); static unsigned long first_free_pfn; static unsigned long last_free_pfn; static unsigned long virt_kernel_area_end =3D VIRT_KERNEL_AREA; --=20 Anthony PERARD