From patchwork Sat May 24 07:02:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 30876 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f72.google.com (mail-qg0-f72.google.com [209.85.192.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E81042066E for ; Sat, 24 May 2014 07:05:03 +0000 (UTC) Received: by mail-qg0-f72.google.com with SMTP id q108sf13327120qgd.11 for ; Sat, 24 May 2014 00:05:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:to:to:to:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=YpZ5rwZUXgg2785jQSuwNd9b6Q6xfpkGR3Nc9LEbTtM=; b=jUZXnfC8Yql91Uw0e80b0Ym1m4256eTnsqkZSaV6SSj5n7GpekaDWa03AUXEGkhI9d C6y2nW467QvuQwkvHEahz0BuhlBBug41p0YZyEKyHOVb88tpbpLbRb9/Pf0amPjZOF6K qfbz+TqP3Ox5DCJyX8E7gP23kvgEtnTZ2TVB2otuNmMMlcxJY2aUAAjVzCuXPJRxy21z gpgZ3nlwoeKrcOV7EP3/daZIMrJLUtZ7FEBCusB5p9SvpMFPMsQCemV0X1gqB7h4+MfT vezBo5lsG4ZAIrldWaAHzMTEgPv3kDDyW1lKmjbKUpYRcTGDJCRtDdIH0oaBABwdQbtE NS8A== X-Gm-Message-State: ALoCoQn8HtPNTOl7x1o918pVnusM5rg1NSpnbfCdnbLGyb2H5gVe9JbjjPV1L+Ba4d2Mw7T+GwA6 X-Received: by 10.58.94.232 with SMTP id df8mr3962486veb.23.1400915103771; Sat, 24 May 2014 00:05:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.21.85 with SMTP id 79ls2082634qgk.41.gmail; Sat, 24 May 2014 00:05:03 -0700 (PDT) X-Received: by 10.221.64.20 with SMTP id xg20mr4923342vcb.3.1400915103657; Sat, 24 May 2014 00:05:03 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id io2si3059428vcb.84.2014.05.24.00.05.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 May 2014 00:05:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id oz11so7314393veb.17 for ; Sat, 24 May 2014 00:05:03 -0700 (PDT) X-Received: by 10.220.162.6 with SMTP id t6mr8718489vcx.12.1400915103534; Sat, 24 May 2014 00:05:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp87485vcb; Sat, 24 May 2014 00:05:03 -0700 (PDT) X-Received: by 10.68.203.132 with SMTP id kq4mr12260232pbc.12.1400915102721; Sat, 24 May 2014 00:05:02 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dq2si6817530pbb.118.2014.05.24.00.05.02 for ; Sat, 24 May 2014 00:05:02 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751842AbaEXHEJ (ORCPT + 27 others); Sat, 24 May 2014 03:04:09 -0400 Received: from mail-ig0-f181.google.com ([209.85.213.181]:35247 "EHLO mail-ig0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751391AbaEXHCZ (ORCPT ); Sat, 24 May 2014 03:02:25 -0400 Received: by mail-ig0-f181.google.com with SMTP id h3so1521501igd.14 for ; Sat, 24 May 2014 00:02:24 -0700 (PDT) X-Received: by 10.50.30.6 with SMTP id o6mr9931903igh.43.1400914944949; Sat, 24 May 2014 00:02:24 -0700 (PDT) Received: from localhost.localdomain (64.2.3.195.ptr.us.xo.net. [64.2.3.195]) by mx.google.com with ESMTPSA id d10sm10007343igc.8.2014.05.24.00.02.23 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 24 May 2014 00:02:23 -0700 (PDT) Received: from localhost.localdomain (apinskidesktop [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4O72MRR009795 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 24 May 2014 00:02:22 -0700 Received: (from apinski@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s4O72MQI009794; Sat, 24 May 2014 00:02:22 -0700 From: Andrew Pinski To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Andrew Pinski Subject: [PATCH 13/24] Drivers:input: Use is_compat_task for ARM64 also. Date: Sat, 24 May 2014 00:02:08 -0700 Message-Id: <1400914939-9708-14-git-send-email-apinski@cavium.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1400914939-9708-1-git-send-email-apinski@cavium.com> References: <1400914939-9708-1-git-send-email-apinski@cavium.com> To: linux-arm-kernel@lists.infradead.org To: linux-kernel@vger.kernel.org To: linux-input@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: apinski@cavium.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Since TIF_32BIT in ARM64 (with ILP32 added) is not always says if this is a compat task, we need to have the input driver understand that and use is_compat_task instead. Thanks, Andrew Pinski Signed-off-by: Andrew Pinski --- drivers/input/input-compat.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/input/input-compat.h b/drivers/input/input-compat.h index 148f66f..6656957 100644 --- a/drivers/input/input-compat.h +++ b/drivers/input/input-compat.h @@ -19,7 +19,7 @@ /* Note to the author of this code: did it ever occur to you why the ifdefs are needed? Think about it again. -AK */ -#if defined(CONFIG_X86_64) || defined(CONFIG_TILE) +#if defined(CONFIG_X86_64) || defined(CONFIG_TILE) || defined(CONFIG_ARM64) # define INPUT_COMPAT_TEST is_compat_task() #elif defined(CONFIG_S390) # define INPUT_COMPAT_TEST test_thread_flag(TIF_31BIT)