[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <35FD53F367049845BC99AC72306C23D1610991B874@CNBJMBX05.corpusers.net>
Date: Fri, 31 May 2013 19:02:49 +0800
From: "Wang, Yalin" <Yalin.Wang@...ymobile.com>
To: 'Will Deacon' <will.deacon@....com>
CC: 'richard -rw- weinberger' <richard.weinberger@...il.com>,
"'linux-arch@...r.kernel.org'" <linux-arch@...r.kernel.org>,
"'linux-kernel@...r.kernel.org'" <linux-kernel@...r.kernel.org>,
"'linux-arm-kernel@...ts.infradead.org'"
<linux-arm-kernel@...ts.infradead.org>
Subject: RE: A bug about system call on ARM
Hi Will,
I have merge your code ,
But there is a different ,
+
+ ct_user_exit
+
+#ifdef CONFIG_ALIGNMENT_TRAP
+ ldr ip, __cr_alignment
+ ldr ip, [ip]
+ mcr p15, 0, ip, c1, c0 @ update control register
+#endif
+ enable_irq
+ get_thread_info tsk
Is this change ok ?
Thanks
-----Original Message-----
From: linux-arch-owner@...r.kernel.org [mailto:linux-arch-owner@...r.kernel.org] On Behalf Of Will Deacon
Sent: Friday, May 31, 2013 4:47 PM
To: Wang, Yalin
Cc: 'richard -rw- weinberger'; 'linux-arch@...r.kernel.org'; 'linux-kernel@...r.kernel.org'; 'linux-arm-kernel@...ts.infradead.org'
Subject: Re: A bug about system call on ARM
On Fri, May 31, 2013 at 03:56:31AM +0100, Wang, Yalin wrote:
> Hi Will,
>
> Thanks for your patch ,
>
> But I found I don't have ct_user_exit macro In my
> arch/arm/kernel/entry-common.S
>
> My kernel version is 3.4.0
Well things have moved on this since then (we're approaching 3.10, so you might consider an upgrade!).
For the purposes of this patch, you can just delete the ct_user_exit line.
Will
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--
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