From: "Jan Beulich" Subject: [PATCH] linux-2.6.18: remove stale exports Date: Fri, 14 Jan 2011 15:15:00 +0000 Message-ID: <4D307684020000780002C718@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part19356964.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part19356964.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline All of these exports and the need for the one additional symbol disappeared somewhere between 2.6.5 and 2.6.16. Signed-off-by: Jan Beulich --- a/drivers/xen/core/machine_reboot.c +++ b/drivers/xen/core/machine_reboot.c @@ -52,11 +52,6 @@ void machine_power_off(void) HYPERVISOR_shutdown(SHUTDOWN_poweroff); } =20 -int reboot_thru_bios =3D 0; /* for dmi_scan.c */ -EXPORT_SYMBOL(machine_restart); -EXPORT_SYMBOL(machine_halt); -EXPORT_SYMBOL(machine_power_off); - static void pre_suspend(void) { HYPERVISOR_shared_info =3D (shared_info_t *)empty_zero_page; --=__Part19356964.0__= Content-Type: text/plain; name="xen-no-halt-exports.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="xen-no-halt-exports.patch" All of these exports and the need for the one additional symbol=0Adisappear= ed somewhere between 2.6.5 and 2.6.16.=0A=0ASigned-off-by: Jan Beulich = =0A=0A--- a/drivers/xen/core/machine_reboot.c=0A+++ = b/drivers/xen/core/machine_reboot.c=0A@@ -52,11 +52,6 @@ void machine_power= _off(void)=0A HYPERVISOR_shutdown(SHUTDOWN_poweroff);=0A }=0A =0A-int = reboot_thru_bios =3D 0; /* for dmi_scan.c */=0A-EXPORT_SYMBOL(machine_resta= rt);=0A-EXPORT_SYMBOL(machine_halt);=0A-EXPORT_SYMBOL(machine_power_off);= =0A-=0A static void pre_suspend(void)=0A {=0A HYPERVISOR_shared_info =3D = (shared_info_t *)empty_zero_page;=0A --=__Part19356964.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part19356964.0__=--