From patchwork Sun May 1 15:46:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Breathitt Gray X-Patchwork-Id: 8988961 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3AAEF9F1D3 for ; Sun, 1 May 2016 15:46:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5F3DA20225 for ; Sun, 1 May 2016 15:46:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8E21E200CA for ; Sun, 1 May 2016 15:46:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752008AbcEAPq1 (ORCPT ); Sun, 1 May 2016 11:46:27 -0400 Received: from mail-yw0-f179.google.com ([209.85.161.179]:33217 "EHLO mail-yw0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751467AbcEAPq0 (ORCPT ); Sun, 1 May 2016 11:46:26 -0400 Received: by mail-yw0-f179.google.com with SMTP id t10so243834163ywa.0; Sun, 01 May 2016 08:46:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=iME1GJWR6eE93mI/XLZRfIC2RGf1BkUhrrFt4qZoSHo=; b=qZcPuqtB8SzJuPnA8BPT3smzsr6VEQ+6mhMNtE/JwbckpDoZVUzwdYOFsbXOiwaWTT v+7qcqE4GECpBvEjoNaXDAE6JpaxGWIJubv5Wl4qy9nMMDSa+B9SQpF67EC+ykWJrM5/ V3wUXNaqDTwVJfPvwreUFwGrdLOYuyo64whSlYXwmOZRB+6fYbKXRBdjfa71fAZUu/AO hSzgqo5c3qiWTDP52MNi/CkOFEARs+QauaOLUjOrF3HxjwioaWDfZoGqmkJUc+nLNOrt 6L2lreKXkPL1yyBusZVHXeGy/pWjcHio2H5X7xVhSUcKrcToiCklWWwkvqTX/J7KtbJL nw3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=iME1GJWR6eE93mI/XLZRfIC2RGf1BkUhrrFt4qZoSHo=; b=WL7yFSDUQGNOVDKRriK0LIHRO5J+8f7sU/pBBHO//4+RMMp/fiWHPuIvGnrXhtHrDV kWlCrYyFeaTZ+VxAnBnKKcrDZiDRsqbe2vurwDljD7XAJ/XmRtGnRzzSlnVHLtsZtrHM QzHlSrTRmQBhqUN9fEoTW9RIqPsI4M4Mwn/TdnW9NqAJ85PAKB83lUzaVS4/yYA9MntT H/2o/knJ7pjWQgA6Fp6D72NbXxy1ipwQXQunUSF1B8gpeV0jACKL/SjXRbpqI8r5kz+u CAodh7d2yNLsiyNHouxEO+mui0xF3pu0t7UdvLmkF42EzCV9FzHypMtLzYK2om8jQZJT iF2Q== X-Gm-Message-State: AOPr4FUfzQ8p4Vmsq8qdBxVMEEYHRN/w5dHOTS7bWWfBNs4DStfwrhf9XdhynYOQeL/F3g== X-Received: by 10.129.152.11 with SMTP id p11mr16405022ywg.125.1462117585569; Sun, 01 May 2016 08:46:25 -0700 (PDT) Received: from sophia (71-47-58-73.res.bhn.net. [71.47.58.73]) by smtp.gmail.com with ESMTPSA id o4sm12964270ywe.22.2016.05.01.08.46.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 May 2016 08:46:25 -0700 (PDT) Date: Sun, 1 May 2016 11:46:17 -0400 From: William Breathitt Gray To: rafael.j.wysocki@intel.com Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RESEND] pnp: pnpbios: Add explicit X86_32 dependency to PNPBIOS Message-ID: <20160501154617.GA14421@sophia> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. Acked-by: Rafael J. Wysocki Signed-off-by: William Breathitt Gray --- 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