diff options
author | Andreas Herrmann <andreas.herrmann3@amd.com> | 2008-08-06 10:27:30 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-11 21:39:11 +0200 |
commit | 49800efcb17afdf973f33e8aa8807b7f83993cc6 (patch) | |
tree | 7b21c84fcf4d3e42570551fff63ce4ff248e00a2 /include/asm-powerpc/backlight.h | |
parent | 2ae111cdd8d83ebf9de72e36e68a8c84b6ebbeea (diff) | |
download | op-kernel-dev-49800efcb17afdf973f33e8aa8807b7f83993cc6.zip op-kernel-dev-49800efcb17afdf973f33e8aa8807b7f83993cc6.tar.gz |
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 <andreas.herrmann3@amd.com>
Cc: akpm@linux-foundation.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-powerpc/backlight.h')
0 files changed, 0 insertions, 0 deletions