diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2009-10-27 00:50:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-29 15:39:30 +0100 |
commit | 9d09daf8e891e6ed60f96fbaf765ba7bced8bad1 (patch) | |
tree | 1518c6f1fdfc9af99b81994cd7dc654bb97de6aa /include | |
parent | vmscan: order evictable rescue in LRU putback (diff) | |
download | linux-9d09daf8e891e6ed60f96fbaf765ba7bced8bad1.tar.xz linux-9d09daf8e891e6ed60f96fbaf765ba7bced8bad1.zip |
atmel_serial: fix bad BUILD_BUG_ON() usage
is_power_of_2() appears not to be constant enough for BUILD_BUG_ON()
after the latest rework, so replace it with an open-coded test.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Jan Beulich <jbeulich@novell.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions