diff mbox

[Xen-devel,20/34] xen/common: cpupool: cpupool_unassign_cpu is only used internally

Message ID 1395766541-23979-21-git-send-email-julien.grall@linaro.org
State Accepted, archived
Headers show

Commit Message

Julien Grall March 25, 2014, 4:55 p.m. UTC
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Cc: Juergen Gross <juergen.gross@ts.fujitsu.com>
---
 xen/common/cpupool.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Juergen Gross March 31, 2014, 5:02 a.m. UTC | #1
On 25.03.2014 17:55, Julien Grall wrote:
> Signed-off-by: Julien Grall <julien.grall@linaro.org>
> Cc: Juergen Gross <juergen.gross@ts.fujitsu.com>

Acked-by: Juergen Gross <juergen.gross@ts.fujitsu.com>

> ---
>   xen/common/cpupool.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/common/cpupool.c b/xen/common/cpupool.c
> index 933de78..4a0e569 100644
> --- a/xen/common/cpupool.c
> +++ b/xen/common/cpupool.c
> @@ -307,7 +307,7 @@ out:
>    * - last cpu and still active domains in cpupool
>    * - cpu just being unplugged
>    */
> -int cpupool_unassign_cpu(struct cpupool *c, unsigned int cpu)
> +static int cpupool_unassign_cpu(struct cpupool *c, unsigned int cpu)
>   {
>       int work_cpu;
>       int ret;
>
diff mbox

Patch

diff --git a/xen/common/cpupool.c b/xen/common/cpupool.c
index 933de78..4a0e569 100644
--- a/xen/common/cpupool.c
+++ b/xen/common/cpupool.c
@@ -307,7 +307,7 @@  out:
  * - last cpu and still active domains in cpupool
  * - cpu just being unplugged
  */
-int cpupool_unassign_cpu(struct cpupool *c, unsigned int cpu)
+static int cpupool_unassign_cpu(struct cpupool *c, unsigned int cpu)
 {
     int work_cpu;
     int ret;