2010-06-29 02:02:06

by Michael Neuling

[permalink] [raw]
Subject: [PATCH] sched: fix spelling of sibling

No logic changes, only spelling.

Signed-off-by: Michael Neuling <[email protected]>
---
arch/powerpc/kernel/process.c | 2 +-
include/linux/topology.h | 2 +-
kernel/sched_fair.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

Index: linux-tip/arch/powerpc/kernel/process.c
===================================================================
--- linux-tip.orig/arch/powerpc/kernel/process.c
+++ linux-tip/arch/powerpc/kernel/process.c
@@ -1270,7 +1270,7 @@ unsigned long randomize_et_dyn(unsigned
}

#ifdef CONFIG_SMP
-int arch_sd_sibiling_asym_packing(void)
+int arch_sd_sibling_asym_packing(void)
{
if (cpu_has_feature(CPU_FTR_ASYM_SMT)) {
printk_once(KERN_INFO "Enabling Asymmetric SMT scheduling\n");
Index: linux-tip/include/linux/topology.h
===================================================================
--- linux-tip.orig/include/linux/topology.h
+++ linux-tip/include/linux/topology.h
@@ -103,7 +103,7 @@ int arch_update_cpu_topology(void);
| 1*SD_SHARE_PKG_RESOURCES \
| 0*SD_SERIALIZE \
| 0*SD_PREFER_SIBLING \
- | arch_sd_sibiling_asym_packing() \
+ | arch_sd_sibling_asym_packing() \
, \
.last_balance = jiffies, \
.balance_interval = 1, \
Index: linux-tip/kernel/sched_fair.c
===================================================================
--- linux-tip.orig/kernel/sched_fair.c
+++ linux-tip/kernel/sched_fair.c
@@ -2567,7 +2567,7 @@ static inline void update_sd_lb_stats(st
} while (sg != sd->groups);
}

-int __weak arch_sd_sibiling_asym_packing(void)
+int __weak arch_sd_sibling_asym_packing(void)
{
return 0*SD_ASYM_PACKING;
}


2010-06-29 09:25:46

by Michael Neuling

[permalink] [raw]
Subject: [tip:sched/core] sched: Fix spelling of sibling

Commit-ID: 2ec57d448b2e8fcfba539a46701b43f14f037f17
Gitweb: http://git.kernel.org/tip/2ec57d448b2e8fcfba539a46701b43f14f037f17
Author: Michael Neuling <[email protected]>
AuthorDate: Tue, 29 Jun 2010 12:02:01 +1000
Committer: Ingo Molnar <[email protected]>
CommitDate: Tue, 29 Jun 2010 10:44:29 +0200

sched: Fix spelling of sibling

No logic changes, only spelling.

Signed-off-by: Michael Neuling <[email protected]>
Cc: [email protected]
Cc: David Howells <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
---
arch/powerpc/kernel/process.c | 2 +-
include/linux/topology.h | 2 +-
kernel/sched_fair.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index 9b41ece..22f08cb 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -1270,7 +1270,7 @@ unsigned long randomize_et_dyn(unsigned long base)
}

#ifdef CONFIG_SMP
-int arch_sd_sibiling_asym_packing(void)
+int arch_sd_sibling_asym_packing(void)
{
if (cpu_has_feature(CPU_FTR_ASYM_SMT)) {
printk_once(KERN_INFO "Enabling Asymmetric SMT scheduling\n");
diff --git a/include/linux/topology.h b/include/linux/topology.h
index cf57f30..b572e43 100644
--- a/include/linux/topology.h
+++ b/include/linux/topology.h
@@ -103,7 +103,7 @@ int arch_update_cpu_topology(void);
| 1*SD_SHARE_PKG_RESOURCES \
| 0*SD_SERIALIZE \
| 0*SD_PREFER_SIBLING \
- | arch_sd_sibiling_asym_packing() \
+ | arch_sd_sibling_asym_packing() \
, \
.last_balance = jiffies, \
.balance_interval = 1, \
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 5e8f98c..b4da534 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -2567,7 +2567,7 @@ static inline void update_sd_lb_stats(struct sched_domain *sd, int this_cpu,
} while (sg != sd->groups);
}

-int __weak arch_sd_sibiling_asym_packing(void)
+int __weak arch_sd_sibling_asym_packing(void)
{
return 0*SD_ASYM_PACKING;
}

2010-06-29 14:14:55

by David Howells

[permalink] [raw]
Subject: Re: [PATCH] sched: fix spelling of sibling

Michael Neuling <[email protected]> wrote:

> No logic changes, only spelling.
>
> Signed-off-by: Michael Neuling <[email protected]>

Acked-by: David Howells <[email protected]>