From patchwork Fri Feb 21 22:40:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 25129 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E5920201EE for ; Fri, 21 Feb 2014 22:40:37 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id z6sf4939138yhz.2 for ; Fri, 21 Feb 2014 14:40:37 -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 :in-reply-to:references: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=9/p1vHo3eNGvUj/OBCHKx9BgiU9bmWhMECk//C/X/Q8=; b=HhIpsG3E8of+nuP0LQ183XPqDyXcR526VLLO7C3Vg2YzaksFo5xMOv6o3nMu/fn3b1 77HY8AsdfgwgYw/bSUq30kWrDgf7SDpqksSJH1uZSTBG/jh1wxcj0/JO4v6eUNj4D1HN z8w1kja4GWJcFZxc2KpWJnKF02/KGxWYrM6xGU3vICQdtcHx/NtBs6tN0ADnt37rSshO 78rPvrrnQ8mzmCfOHnJYNFG4YrhAI5kz/O7KnoUxRKCV7Hj9eGF6A88+dP/5BGp0XDqs VA5J7QE4EH+fOJSR3U8dG+m0Kko4G9z7tV9Xs3Ba09w8PwP5GTgeerag0LMV9nHBEtND iOcA== X-Gm-Message-State: ALoCoQlJnxY951R0Z0UeQ5C2JR5zmB+BdaoXdgjzDqK43GV6Em5wovq7RAGTk6z5+QujhxLPFaI0 X-Received: by 10.236.141.7 with SMTP id f7mr4692664yhj.33.1393022437718; Fri, 21 Feb 2014 14:40:37 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.7 with SMTP id 7ls393702qgm.46.gmail; Fri, 21 Feb 2014 14:40:37 -0800 (PST) X-Received: by 10.52.101.135 with SMTP id fg7mr5338610vdb.17.1393022437619; Fri, 21 Feb 2014 14:40:37 -0800 (PST) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id xs6si3617579vec.78.2014.02.21.14.40.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Feb 2014 14:40:37 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id ks9so3780744vcb.25 for ; Fri, 21 Feb 2014 14:40:37 -0800 (PST) X-Received: by 10.220.81.71 with SMTP id w7mr6281802vck.71.1393022437191; Fri, 21 Feb 2014 14:40:37 -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 u4csp68879vcz; Fri, 21 Feb 2014 14:40:36 -0800 (PST) X-Received: by 10.66.121.131 with SMTP id lk3mr11608988pab.61.1393022436429; Fri, 21 Feb 2014 14:40:36 -0800 (PST) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by mx.google.com with ESMTPS id qy5si8563601pab.21.2014.02.21.14.40.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Feb 2014 14:40:36 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.174 is neither permitted nor denied by best guess record for domain of john.stultz@linaro.org) client-ip=209.85.192.174; Received: by mail-pd0-f174.google.com with SMTP id z10so3844339pdj.5 for ; Fri, 21 Feb 2014 14:40:36 -0800 (PST) X-Received: by 10.68.178.66 with SMTP id cw2mr11598189pbc.89.1393022435902; Fri, 21 Feb 2014 14:40:35 -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 af1sm58083109pad.12.2014.02.21.14.40.34 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Feb 2014 14:40:35 -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: [PATCHv2 3/3] staging: binder: Improve Kconfig entry for ANDROID_BINDER_IPC_32BIT Date: Fri, 21 Feb 2014 14:40:27 -0800 Message-Id: <1393022427-14364-4-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1393022427-14364-1-git-send-email-john.stultz@linaro.org> References: <1393022427-14364-1-git-send-email-john.stultz@linaro.org> 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.220.180 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: , Add a more clear explanation of the option in the prompt, and make the config depend on ANDROID_BINDER_IPC being selected. Also sets the default to y, which matches AOSP. Cc: Greg KH Cc: Colin Cross Cc: Arve Hjønnevåg Cc: Serban Constantinescu Cc: Android Kernel Team Signed-off-by: John Stultz --- drivers/staging/android/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig index 3559690..1c779ef 100644 --- a/drivers/staging/android/Kconfig +++ b/drivers/staging/android/Kconfig @@ -21,8 +21,9 @@ config ANDROID_BINDER_IPC between said processes. config ANDROID_BINDER_IPC_32BIT - bool "Use old 32-bit binder api" - depends on !64BIT + bool "Use old (Android 4.4 and earlier) 32-bit binder API" + depends on !64BIT && ANDROID_BINDER_IPC + default y ---help--- The Binder API has been changed to support both 32 and 64bit applications in a mixed environment.