From: Milton Miller Date: Tue, 10 May 2011 19:29:24 +0000 (+0000) Subject: powerpc: Remove alloc_maybe_bootmem for zalloc version X-Git-Tag: v3.0-rc1~385^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a56555e573d3740d588d912aada506d57759cf5d;p=pandora-kernel.git powerpc: Remove alloc_maybe_bootmem for zalloc version Replace all remaining callers of alloc_maybe_bootmem with zalloc_maybe_bootmem. The callsite in pci_dn is followed with a memset to clear the memory, and not zeroing at the other callsites in the celleb fake pci code could lead to following uninitialized memory as pointers or even freeing said pointers on error paths. Signed-off-by: Milton Miller Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed