From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH 2/2] kprobes: check CONFIG_FREEZER instead of CONFIG_PM Date: Wed, 7 Jan 2009 13:16:59 +0100 Message-ID: <20090107121659.GA16268@elte.hu> References: <200901062112.29227.rjw@sisk.pl> <200901062115.33286.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <200901062115.33286.rjw@sisk.pl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: "Rafael J. Wysocki" Cc: LKML , Pavel Machek , Cheng Renquan , pm list , Masami Hiramatsu List-Id: linux-pm@vger.kernel.org * Rafael J. Wysocki wrote: > From: Masami Hiramatsu > > Check CONFIG_FREEZER instead of CONFIG_PM because kprobe booster > depends on freeze_processes() and thaw_processes() when CONFIG_PREEMPT=y. > > This fixes a linkage error which occurs when CONFIG_PREEMPT=y, CONFIG_PM=y > and CONFIG_FREEZER=n. > > Reported-by: Cheng Renquan > Signed-off-by: Masami Hiramatsu > Signed-off-by: Rafael J. Wysocki > --- > arch/ia64/kernel/kprobes.c | 2 +- > arch/x86/kernel/kprobes.c | 2 +- > kernel/kprobes.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) looks good, the x86 bits: Acked-by: Ingo Molnar Ingo