From patchwork Wed Feb 26 22:29:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 25434 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f69.google.com (mail-pb0-f69.google.com [209.85.160.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C652C20636 for ; Wed, 26 Feb 2014 22:29:36 +0000 (UTC) Received: by mail-pb0-f69.google.com with SMTP id ma3sf3797032pbc.4 for ; Wed, 26 Feb 2014 14:29:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe:content-type:content-transfer-encoding; bh=ZmJxRFe96bE3+zTq6lhdAbXZLsMam94Rbvt9nTiflzs=; b=bp6QHjgfLZCy//0IO9BBR0QjiupRnuoSzi3rXNEwbUmNG41mtmTZX2lAfoDZ6cPKY0 JShTqwj6HCQ+n0RPVE6asU1uFBaIqy8xGpHf/yZB1sMQDelXzLN1qk15R1qi4C1PMhET s7e+HAXN9mqc3a7XKMOVkk8SWqYYMgmOw0bPxwbHNNu/s4Wl05rJVwPhmhRDrie03JDi sXB/wmELX+pPBd/ha/lIHv20ShmKUIvYxl0+cRkAxuV9FoOH4I6Fbpv7ckwx7l9Yiu/o s4ZhCPoIbprU0EiOK6QZhKihECkzz0tmpt4DpgACRUis11U4irBe9J1a3FRYABeWfF3N H48g== X-Gm-Message-State: ALoCoQlODi2mukIAVg3y5V+U+BCHaIEFhCbn/x6/2JImn49Sbg5ANoAeqCGuaMI+HSZqlA0TOLs1 X-Received: by 10.66.182.137 with SMTP id ee9mr4381247pac.0.1393453776051; Wed, 26 Feb 2014 14:29:36 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.8 with SMTP id c8ls438040qgc.56.gmail; Wed, 26 Feb 2014 14:29:35 -0800 (PST) X-Received: by 10.58.231.169 with SMTP id th9mr119857vec.49.1393453775880; Wed, 26 Feb 2014 14:29:35 -0800 (PST) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id xn9si612733vcb.116.2014.02.26.14.29.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Feb 2014 14:29:35 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id oy12so2931800veb.20 for ; Wed, 26 Feb 2014 14:29:35 -0800 (PST) X-Received: by 10.52.117.115 with SMTP id kd19mr6462207vdb.15.1393453775777; Wed, 26 Feb 2014 14:29:35 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp58994vcz; Wed, 26 Feb 2014 14:29:34 -0800 (PST) X-Received: by 10.66.121.68 with SMTP id li4mr11615665pab.33.1393453774192; Wed, 26 Feb 2014 14:29:34 -0800 (PST) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx.google.com with ESMTPS id gp2si2351650pac.128.2014.02.26.14.29.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Feb 2014 14:29:34 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.177 is neither permitted nor denied by best guess record for domain of john.stultz@linaro.org) client-ip=209.85.192.177; Received: by mail-pd0-f177.google.com with SMTP id g10so1540121pdj.22 for ; Wed, 26 Feb 2014 14:29:33 -0800 (PST) X-Received: by 10.66.25.203 with SMTP id e11mr11244772pag.76.1393453773656; Wed, 26 Feb 2014 14:29:33 -0800 (PST) Received: from buildbox.hsd1.or.comcast.net (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id yh4sm6829798pbb.19.2014.02.26.14.29.19 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Feb 2014 14:29:32 -0800 (PST) From: John Stultz To: LKML Cc: John Stultz , Greg KH , Colin Cross , =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= , Serban Constantinescu , Android Kernel Team Subject: [RFC][PATCH] staging: Fix build issues with new binder API Date: Wed, 26 Feb 2014 14:29:07 -0800 Message-Id: <1393453747-12513-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.8.3.2 MIME-Version: 1.0 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The new 64bit binder API causes build issues on 32bit ARM due to the lack of 64bit __get_user_asm_* implementation. Until that implementation is done, remove the choice for 32bit ARM, automatically enabling the old 32bit binder protocol. This can be reverted once a 64bit __get_user_asm_* implementation is merged. Cc: Greg KH Cc: Colin Cross Cc: Arve Hjønnevåg Cc: Serban Constantinescu Cc: Android Kernel Team Reported-by: Arnd Bergmann Signed-off-by: John Stultz --- drivers/staging/android/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig index 1c779ef..ab28d2b 100644 --- a/drivers/staging/android/Kconfig +++ b/drivers/staging/android/Kconfig @@ -21,7 +21,7 @@ config ANDROID_BINDER_IPC between said processes. config ANDROID_BINDER_IPC_32BIT - bool "Use old (Android 4.4 and earlier) 32-bit binder API" + bool depends on !64BIT && ANDROID_BINDER_IPC default y ---help---