From: Benjamin Herrenschmidt Date: Mon, 12 Feb 2007 02:31:08 +0000 (+1100) Subject: [POWERPC] Fix vDSO page count calculation X-Git-Tag: v2.6.21-rc1~273^2~3^2~10^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ac9a13717c10c5ee074a6b23096c8d277fa5712;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed