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.28-rc1~711^2~1^2~33^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49800efcb17afdf973f33e8aa8807b7f83993cc6;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