]> err.no Git - linux-2.6/commit
[POWERPC] Fix is_power_of_4(x) compile error
authorKumar Gala <galak@kernel.crashing.org>
Fri, 9 Feb 2007 15:30:05 +0000 (09:30 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 9 Feb 2007 15:30:05 +0000 (09:30 -0600)
commit8dabba5d1a8f1893bc3db9bf66007de2020c8b62
tree8e8fb5c1e54055bcf1fe0e3346a1b899033b632e
parentd003e7a1a569501cbe9a5ca14748177498c4893a
[POWERPC] Fix is_power_of_4(x) compile error

When building an 85xx kernel we get:

  CC      arch/powerpc/mm/pgtable_32.o
arch/powerpc/mm/pgtable_32.c: In function 'io_block_mapping':
arch/powerpc/mm/pgtable_32.c:330: error: expected identifier before '(' token
arch/powerpc/mm/pgtable_32.c:330: error: expected statement before ')' token

The is_power_of_2(x) fixup patch left an extra ')' on the is_power_of_4 macro.
There is a similiar issue on the arch/ppc side.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/mm/pgtable_32.c
arch/ppc/mm/pgtable.c