RE: [PATCH] ARM: S5PV310: Optimize interrupt source searching code

2010-09-28 Thread Kukjin Kim
Michal Nazarewicz wrote: > Hi :-) > On Tue, 28 Sep 2010 14:45:59 +0200, Sergei Shtylyov > wrote: > > > Hello. > > > > On 28-09-2010 5:31, Kukjin Kim wrote: > > > >> From: Changhwan Youn > > > >> It is reported by Junseok Jung that using clz instruction is > >> better instead of using for-loop t

RE: [PATCH] ARM: S5PV310: Optimize interrupt source searching code

2010-09-28 Thread Kukjin Kim
Sergei Shtylyov wrote: > > Hello. > Hi ;-) > On 28-09-2010 5:31, Kukjin Kim wrote: > > > From: Changhwan Youn > > > It is reported by Junseok Jung that using clz instruction is > > better instead of using for-loop to find the interrupt source. > > This patch modifies interrupt source searching

Re: [PATCH] ARM: S5PV310: Optimize interrupt source searching code

2010-09-28 Thread MichaƂ Nazarewicz
On Tue, 28 Sep 2010 14:45:59 +0200, Sergei Shtylyov wrote: Hello. On 28-09-2010 5:31, Kukjin Kim wrote: From: Changhwan Youn It is reported by Junseok Jung that using clz instruction is better instead of using for-loop to find the interrupt source. This patch modifies interrupt source se

Re: [PATCH] ARM: S5PV310: Optimize interrupt source searching code

2010-09-28 Thread Sergei Shtylyov
Hello. On 28-09-2010 5:31, Kukjin Kim wrote: From: Changhwan Youn It is reported by Junseok Jung that using clz instruction is better instead of using for-loop to find the interrupt source. This patch modifies interrupt source searching code using __fls(). The __fls() is implemented using cl

[PATCH] ARM: S5PV310: Optimize interrupt source searching code

2010-09-27 Thread Kukjin Kim
From: Changhwan Youn It is reported by Junseok Jung that using clz instruction is better instead of using for-loop to find the interrupt source. This patch modifies interrupt source searching code using __fls(). The __fls() is implemented using clz instruction. Suggested-by: Junseok Jung Signed