From: Andreas Herrmann Date: Wed, 6 Aug 2008 08:27:30 +0000 (+0200) Subject: x86: pda_init(): fix memory leak when using CPU hotplug X-Git-Tag: v2.6.27-rc6~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d04ec773d7ca1bbc05a2768be95c1cebe2b07757;p=pandora-kernel.git x86: pda_init(): fix memory leak when using CPU hotplug pda->irqstackptr is allocated whenever a CPU is set online. But it is never freed. This results in a memory leak of 16K for each CPU offline/online cycle. Fix is to allocate pda->irqstackptr only once. Signed-off-by: Andreas Herrmann Cc: akpm@linux-foundation.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed