On 09/18/2012 01:09 PM, Benjamin Herrenschmidt wrote:
On Tue, 2012-09-18 at 15:05 +1000, Benjamin Herrenschmidt wrote:
On Mon, 2012-09-17 at 17:54 +0800, Tiejun Chen wrote:
-#ifdef CONFIG_PREEMPT
b restore
/* N.B. the only way to get here is from the beq following ret_from_exce
On Tue, 2012-09-18 at 15:05 +1000, Benjamin Herrenschmidt wrote:
> On Mon, 2012-09-17 at 17:54 +0800, Tiejun Chen wrote:
> > -#ifdef CONFIG_PREEMPT
> > b restore
> >
> > /* N.B. the only way to get here is from the beq following
> > ret_from_except. */
> > resume_kernel:
> > - /* c
On Mon, 2012-09-17 at 17:54 +0800, Tiejun Chen wrote:
> -#ifdef CONFIG_PREEMPT
> b restore
>
> /* N.B. the only way to get here is from the beq following ret_from_except.
> */
> resume_kernel:
> - /* check current_thread_info->preempt_count */
> + /* check current_thread_in
On 09/17/2012 06:02 PM, David Laight wrote:
/* N.B. the only way to get here is from the beq following ret_from_except. */
resume_kernel:
- /* check current_thread_info->preempt_count */
+ /* check current_thread_info, _TIF_EMULATE_STACK_STORE */
CURRENT_THREAD_INFO(r9, r1
> /* N.B. the only way to get here is from the beq following ret_from_except.
> */
> resume_kernel:
> - /* check current_thread_info->preempt_count */
> + /* check current_thread_info, _TIF_EMULATE_STACK_STORE */
> CURRENT_THREAD_INFO(r9, r1)
> + lwz r8,TI_FLAGS(r9)
> +