diff options
| author | Joe Perches <joe@perches.com> | 2014-01-27 17:07:14 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-27 21:02:40 -0800 |
| commit | 2e702b9f6cba4eb87d90e2a2d425a1fc05eec803 (patch) | |
| tree | ade4a3bcec477ced2780f1841e7c06f547effe84 /drivers/rtc/rtc-generic.c | |
| parent | a19428e5c3f4f39c302cb97b847dfd23613145c1 (diff) | |
softirq: use ffs() in __do_softirq()
Possible speed improvement of __do_softirq() by using ffs() instead of
using a while loop with an & 1 test then single bit shift.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-generic.c')
0 files changed, 0 insertions, 0 deletions
