]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fix vDSO page count calculation
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 12 Feb 2007 02:31:08 +0000 (13:31 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 13 Feb 2007 04:35:52 +0000 (15:35 +1100)
commit7ac9a13717c10c5ee074a6b23096c8d277fa5712
treead4fde87891f3d4c9f04412c4a33d80b2bd6b445
parenta334bdbdda9659b8f50a8620a11249fde62ccfde
[POWERPC] Fix vDSO page count calculation

The recent vDSO consolidation patches broke powerpc due to a mistake
in the definition of MAXPAGES constants. This fixes it by moving to
a dynamically allocated array of pages instead as I don't like much
hard coded size limits. Also move the vdso initialisation to an initcall
since it doesn't really need to be done -that- early.

Applogies for not catching the breakage earlier, Roland _did_ CC me on
his patches a while ago, I got busy with other things and forgot to test
them.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/vdso.c
arch/powerpc/mm/mem.c
include/asm-powerpc/vdso.h