From patchwork Mon Apr 11 13:25:51 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: 8801221 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B63CAC0553 for ; Mon, 11 Apr 2016 13:27:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E6F6B2034B for ; Mon, 11 Apr 2016 13:27:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3676A20306 for ; Mon, 11 Apr 2016 13:27:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932793AbcDKN0m (ORCPT ); Mon, 11 Apr 2016 09:26:42 -0400 Received: from mail-yw0-f177.google.com ([209.85.161.177]:33611 "EHLO mail-yw0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932125AbcDKN0k (ORCPT ); Mon, 11 Apr 2016 09:26:40 -0400 Received: by mail-yw0-f177.google.com with SMTP id t10so208244573ywa.0; Mon, 11 Apr 2016 06:26:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=QrIuN8g/HcWtISlxY5zUXiWgeKoauidk8sM9MZGA6OA=; b=FZVZDxWYg7FQXXtV8NX+XPn5h6ALLx8CCGyZeRFyeVQCNbqBMslqTs+78wX9zKaQqI SUZ1UIpRV0OYc+I8on/VE2AJQOys/4t0BLMKXPe4d28AB5lZRbyik0Pr0l937IH0Vi8/ 7p6qJdEsOVuvDBpm6P+vwX3489B2noY7yTfVWCfqVweWIUb0oYI8yzyzgxETLhYoe9Vy fiNdU3yGenpOdx/jqp1qKHIPIR3C9bEAUq7O4oMUvBrbuSbH5Jdt52GWbC4ZV7q/lLFq dE9+ckd9anj4SerLw3trMwI0IofIzfmEEbKvyli2mQa4SX+CxIu/HoMTORJuMj8isYYT be+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=QrIuN8g/HcWtISlxY5zUXiWgeKoauidk8sM9MZGA6OA=; b=Vep57PJGE1Ako8htmuau4rAV1Ay4W9ish8bz1NIRd3dtshdDZQvlPmPq474Tuvb5i1 IYqHIoon3DwCJIk5v+9wlBwIADvGENGIQ/Qj9z9hWSGwnOfh0xzx5kQER/JdzAwW1Ktg cj/mzfKNVWszutAYN+37xELwXwmoszuSG5MKHXvwyHIiyE0FavW0EI/9hYWEmJKxCQ5+ 9tsteAQpoOWkWJmxI/1atExIHxs1TIZqaXK3wvGIm0CF0mdHTs9zXPsQpphYWwvrv2sg JGBEjlO90aatu/0NYLSquBDf+btoyUtQ4MEEK4X6uY+BDqBR3UAR7ieNodanjn0RcJfB Eu2A== X-Gm-Message-State: AD7BkJIFn+iq7csL65jKiSRnVf6YRBXqethWMKb8tqAt9UKY/kGCmdP15Hw8A4+T3qOwEQ== X-Received: by 10.37.65.85 with SMTP id o82mr11745317yba.58.1460381185042; Mon, 11 Apr 2016 06:26:25 -0700 (PDT) Received: from localhost (71-47-58-73.res.bhn.net. [71.47.58.73]) by smtp.gmail.com with ESMTPSA id m188sm14768683ywe.46.2016.04.11.06.26.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Apr 2016 06:26:24 -0700 (PDT) From: William Breathitt Gray To: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, gregkh@linuxfoundation.org Cc: x86@kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, alsa-devel@alsa-project.org, William Breathitt Gray , "Rafael J . Wysocki" Subject: [PATCH 1/4] pnp: pnpbios: Add explicit X86_32 dependency to PNPBIOS Date: Mon, 11 Apr 2016 09:25:51 -0400 Message-Id: X-Mailer: git-send-email 2.7.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@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. Cc: 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