Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753495AbcDVXv0 (ORCPT ); Fri, 22 Apr 2016 19:51:26 -0400 Received: from mga01.intel.com ([192.55.52.88]:30689 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751800AbcDVXvZ (ORCPT ); Fri, 22 Apr 2016 19:51:25 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,519,1455004800"; d="scan'208";a="964645572" Subject: Re: [PATCH 1/4] pnp: pnpbios: Add explicit X86_32 dependency to PNPBIOS To: William Breathitt Gray References: Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, gregkh@linuxfoundation.org, x86@kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, alsa-devel@alsa-project.org From: "Rafael J. Wysocki" Organization: Intel Technology Poland Sp. z o. o., KRS 101882, ul. Slowackiego 173, 80-298 Gdansk Message-ID: <571AB8F6.50802@intel.com> Date: Sat, 23 Apr 2016 01:51:19 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1253 Lines: 33 On 4/11/2016 3:25 PM, William Breathitt Gray wrote: > The PNPBIOS driver requires preprocessor defines (located in > include/asm/segment.h) only declared if the architecture is set to > X86_32. If the architecture is set to X86_64, the PNPBIOS driver will > not build properly. The X86 dependecy for the PNPBIOS configuration > option is changed to an explicit X86_32 dependency in order to prevent > an attempt to build for an unsupported architecture. > > Cc: Rafael J. Wysocki > Signed-off-by: William Breathitt Gray Has anyone taken care of this already? If not, can you possibly resend this patch with a CC to linux-acpi@vger.kernel.org so I can pick it up via Patchwork more easily? > --- > drivers/pnp/pnpbios/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pnp/pnpbios/Kconfig b/drivers/pnp/pnpbios/Kconfig > index 50c3dd0..a786086 100644 > --- a/drivers/pnp/pnpbios/Kconfig > +++ b/drivers/pnp/pnpbios/Kconfig > @@ -3,7 +3,7 @@ > # > config PNPBIOS > bool "Plug and Play BIOS support" > - depends on ISA && X86 > + depends on ISA && X86_32 > default n > ---help--- > Linux uses the PNPBIOS as defined in "Plug and Play BIOS