kernel/kfifo.c: replace conditional test with is_power_of_2()
authorRobert P. J. Day <rpjday@crashcourse.ca>
Tue, 16 Jun 2009 22:33:34 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:47 +0000 (19:47 -0700)
commitb33112d1cc25e658c334125d127a6ae15d5a0ad6
treea09dc0715c317198caf868010a6e10f67bf939c2
parent417dcdf99ec9f8d8d6917189130bdc17cb67c678
kernel/kfifo.c: replace conditional test with is_power_of_2()

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kfifo.c