[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140619125025.GB8476@arm.com>
Date: Thu, 19 Jun 2014 13:50:25 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Andrew Pinski <apinski@...ium.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-input@...r.kernel.org
Subject: Re: [PATCH 13/24] Drivers:input: Use is_compat_task for ARM64 also.
On Sat, May 24, 2014 at 12:02:08AM -0700, Andrew Pinski wrote:
> 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)
And this patch could be removed if we keep TIF_32BIT common.
--
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists