30, 2013 5:28 PM
To: Wang Dongsheng-B40534
Cc: r...@sisk.pl; linux...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] cpuidle: fix unremovable issue for module driver
On 07/30/2013 08:55 AM, Dongsheng Wang wrote:
From: Wang Dongsheng dongsheng.w
From: Wang Dongsheng dongsheng.w...@freescale.com
After __cpuidle_register_device, the cpu incs are added up, but decs
are not, thus the module refcount is not match. So the module exit
function can not be executed when we do remove operation. Move
module_put into __cpuidle_register_device to fix
On 07/30/2013 08:55 AM, Dongsheng Wang wrote:
From: Wang Dongsheng dongsheng.w...@freescale.com
After __cpuidle_register_device, the cpu incs are added up, but decs
are not, thus the module refcount is not match. So the module exit
function can not be executed when we do remove operation.
-Original Message-
From: Daniel Lezcano [mailto:daniel.lezc...@linaro.org]
Sent: Tuesday, July 30, 2013 5:28 PM
To: Wang Dongsheng-B40534
Cc: r...@sisk.pl; linux...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] cpuidle: fix unremovable issue for module driver
: [PATCH] cpuidle: fix unremovable issue for module driver
On 07/30/2013 08:55 AM, Dongsheng Wang wrote:
From: Wang Dongsheng dongsheng.w...@freescale.com
After __cpuidle_register_device, the cpu incs are added up, but decs
are not, thus the module refcount is not match. So the module exit
; linux...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] cpuidle: fix unremovable issue for module driver
On 07/30/2013 08:55 AM, Dongsheng Wang wrote:
From: Wang Dongsheng dongsheng.w...@freescale.com
After __cpuidle_register_device, the cpu incs are added up, but decs