Re: [PATCH 10/34] m68k/coldfire: Use CONFIG_PREEMPTION
Hi Sebastian, On 16/10/19 5:55 pm, Sebastian Andrzej Siewior wrote: On 2019-10-16 10:50:41 [+1000], Greg Ungerer wrote: Hi Sebastian, Hi Greg, On 16/10/19 5:17 am, Sebastian Andrzej Siewior wrote: From: Thomas Gleixner CONFIG_PREEMPTION is selected by CONFIG_PREEMPT and by CONFIG_PREEMPT_RT. Both PREEMPT and PREEMPT_RT require the same functionality which today depends on CONFIG_PREEMPT. Switch the entry code over to use CONFIG_PREEMPTION. Cc: Greg Ungerer Acked-by: Greg Ungerer Thank you. Do you want me to take this via the m68knommu git tree? Or are you taking the whole series via some other tree? It is up to you. You have all the dependencies so you can either add it to your -next branch or leave it and we will pick it up for you. Patch added to the m68knommu git tree, for-next branch. Thanks Greg
Re: [PATCH 10/34] m68k/coldfire: Use CONFIG_PREEMPTION
On 2019-10-16 10:50:41 [+1000], Greg Ungerer wrote: > Hi Sebastian, Hi Greg, > On 16/10/19 5:17 am, Sebastian Andrzej Siewior wrote: > > From: Thomas Gleixner > > > > CONFIG_PREEMPTION is selected by CONFIG_PREEMPT and by CONFIG_PREEMPT_RT. > > Both PREEMPT and PREEMPT_RT require the same functionality which today > > depends on CONFIG_PREEMPT. > > > > Switch the entry code over to use CONFIG_PREEMPTION. > > > > Cc: Greg Ungerer > > Acked-by: Greg Ungerer Thank you. > Do you want me to take this via the m68knommu git tree? > Or are you taking the whole series via some other tree? It is up to you. You have all the dependencies so you can either add it to your -next branch or leave it and we will pick it up for you. > Regards > Greg Sebastian
Re: [PATCH 10/34] m68k/coldfire: Use CONFIG_PREEMPTION
Hi Sebastian, On 16/10/19 5:17 am, Sebastian Andrzej Siewior wrote: From: Thomas Gleixner CONFIG_PREEMPTION is selected by CONFIG_PREEMPT and by CONFIG_PREEMPT_RT. Both PREEMPT and PREEMPT_RT require the same functionality which today depends on CONFIG_PREEMPT. Switch the entry code over to use CONFIG_PREEMPTION. Cc: Greg Ungerer Acked-by: Greg Ungerer Do you want me to take this via the m68knommu git tree? Or are you taking the whole series via some other tree? Regards Greg Cc: Geert Uytterhoeven Cc: linux-m...@lists.linux-m68k.org Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior --- arch/m68k/coldfire/entry.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/coldfire/entry.S b/arch/m68k/coldfire/entry.S index 52d312d5b4d4f..d43a02795a4a4 100644 --- a/arch/m68k/coldfire/entry.S +++ b/arch/m68k/coldfire/entry.S @@ -108,7 +108,7 @@ ENTRY(system_call) btst#5,%sp@(PT_OFF_SR) /* check if returning to kernel */ jeq Luser_return/* if so, skip resched, signals */ -#ifdef CONFIG_PREEMPT +#ifdef CONFIG_PREEMPTION movel %sp,%d1 /* get thread_info pointer */ andl#-THREAD_SIZE,%d1 /* at base of kernel stack */ movel %d1,%a0