[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] common/sched: Correct function prototypes


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Thu, 10 Oct 2013 19:25:32 +0100
  • Cc: Jan Beulich <JBeulich@xxxxxxxx>
  • Delivery-date: Thu, 10 Oct 2013 18:26:13 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac7F5hqdMuKWftiVWEWdTcoJO7H5jg==
  • Thread-topic: [PATCH] common/sched: Correct function prototypes

On 10/10/2013 18:05, "Andrew Cooper" <andrew.cooper3@xxxxxxxxxx> wrote:

> struct vcpu pointers are traditionally v rather than d.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> CC: Keir Fraser <keir@xxxxxxx>
> CC: Jan Beulich <JBeulich@xxxxxxxx>
> George Dunlap <george.dunlap@xxxxxxxxxxxxx>

Acked-by: Keir Fraser <keir@xxxxxxx>

> ---
>  xen/include/xen/sched.h |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h
> index 1765e18..2e83f08 100644
> --- a/xen/include/xen/sched.h
> +++ b/xen/include/xen/sched.h
> @@ -567,9 +567,9 @@ void sched_set_node_affinity(struct domain *, nodemask_t
> *);
>  int  sched_id(void);
>  void sched_tick_suspend(void);
>  void sched_tick_resume(void);
> -void vcpu_wake(struct vcpu *d);
> -void vcpu_sleep_nosync(struct vcpu *d);
> -void vcpu_sleep_sync(struct vcpu *d);
> +void vcpu_wake(struct vcpu *v);
> +void vcpu_sleep_nosync(struct vcpu *v);
> +void vcpu_sleep_sync(struct vcpu *v);
>  
>  /*
>   * Force synchronisation of given VCPU's state. If it is currently
> descheduled,



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.