]> git.baikalelectronics.ru Git - kernel.git/commit
avr32: cleanup - use _AC macro to define PAGE_SIZE
authorCyrill Gorcunov <gorcunov@gmail.com>
Sun, 3 Feb 2008 11:22:18 +0000 (14:22 +0300)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 20 Apr 2008 00:40:06 +0000 (20:40 -0400)
commitd11b261c73eab577d7d26e6ed2375d512d6d6738
tree26d041a57b3d25ea612d52559d201d0fe76e43c8
parentd27976606b5dc734ff38672c5306286f69ff12e8
avr32: cleanup - use _AC macro to define PAGE_SIZE

PAGE_SIZE is used both from assembly and C code. We want to have type
specifiers when using it from C, but this will make the assembler
confused, so we need to make it conditional.

This is exactly what the _AC macro is for, so using it allows us to
get rid of a few lines of cpp noise.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
include/asm-avr32/page.h