[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130627144721.c57718a17c50469db8050520@canb.auug.org.au>
Date: Thu, 27 Jun 2013 14:47:21 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Bharat Bhushan <r65777@...escale.com>
Cc: <kvm-ppc@...r.kernel.org>, <kvm@...r.kernel.org>, <agraf@...e.de>,
<scottwood@...escale.com>, <tiejun.chen@...driver.com>,
<benh@...nel.crashing.org>, <linuxppc-dev@...ts.ozlabs.org>,
<linux-kernel@...r.kernel.org>, <mikey@...ling.org>,
Bharat Bhushan <bharat.bhushan@...escale.com>
Subject: Re: [PATCH 3/6 v5] powerpc: export debug registers save function
for KVM
Hi,
On Wed, 26 Jun 2013 11:12:23 +0530 Bharat Bhushan <r65777@...escale.com> wrote:
>
> diff --git a/arch/powerpc/include/asm/switch_to.h b/arch/powerpc/include/asm/switch_to.h
> index 200d763..50b357f 100644
> --- a/arch/powerpc/include/asm/switch_to.h
> +++ b/arch/powerpc/include/asm/switch_to.h
> @@ -30,6 +30,10 @@ extern void enable_kernel_spe(void);
> extern void giveup_spe(struct task_struct *);
> extern void load_up_spe(struct task_struct *);
>
> +#ifdef CONFIG_PPC_ADV_DEBUG_REGS
> +extern void switch_booke_debug_regs(struct thread_struct *new_thread);
> +#endif
We usually don't bother guarding function declarations.
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists