From: "Jan Beulich" Subject: [PATCH] fix acpi_parse_fadt() Date: Fri, 12 Oct 2007 15:20:11 +0100 Message-ID: <470F9EBB.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline 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 Prevent returning early, so that other information gathered in this function will not occasionally be missing for the consumer(s). Signed-off-by: Jan Beulich Index: 2007-10-10/xen/arch/x86/acpi/boot.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 2007-10-10.orig/xen/arch/x86/acpi/boot.c 2007-10-10 17:14:46.0000000= 00 +0200 +++ 2007-10-10/xen/arch/x86/acpi/boot.c 2007-10-12 15:51:09.000000000 = +0200 @@ -491,11 +491,9 @@ static int __init acpi_parse_fadt(unsign /* detect the location of the ACPI PM Timer */ if (fadt->revision >=3D FADT2_REVISION_ID) { /* FADT rev. 2 */ - if (fadt->xpm_tmr_blk.address_space_id !=3D + if (fadt->xpm_tmr_blk.address_space_id =3D=3D ACPI_ADR_SPACE_SYSTEM_IO) - return 0; - - pmtmr_ioport =3D fadt->xpm_tmr_blk.address; + pmtmr_ioport =3D fadt->xpm_tmr_blk.address; /* * "X" fields are optional extensions to the original V1.0 * fields, so we must selectively expand V1.0 fields if = the