2011-06-19 09:50:53

by J. Neuschäfer

[permalink] [raw]
Subject: [PATCH trivial] stop_machine.h: "disables preeempt" -> "disables preemption"

Use the noun instead of a misspelled verb.

Signed-off-by: Jonathan Neuschäfer <[email protected]>
---
include/linux/stop_machine.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/stop_machine.h b/include/linux/stop_machine.h
index 092dc9b..2d3f0b1 100644
--- a/include/linux/stop_machine.h
+++ b/include/linux/stop_machine.h
@@ -94,7 +94,7 @@ static inline int try_stop_cpus(const struct cpumask *cpumask,
* stop_machine "Bogolock": stop the entire machine, disable
* interrupts. This is a very heavy lock, which is equivalent to
* grabbing every spinlock (and more). So the "read" side to such a
- * lock is anything which disables preeempt.
+ * lock is anything which disables preemption.
*/
#if defined(CONFIG_STOP_MACHINE) && defined(CONFIG_SMP)

--
1.7.5.4


2011-06-20 14:02:34

by Jiri Kosina

[permalink] [raw]
Subject: Re: [PATCH trivial] stop_machine.h: "disables preeempt" -> "disables preemption"

On Sun, 19 Jun 2011, Jonathan Neuschäfer wrote:

> Use the noun instead of a misspelled verb.
>
> Signed-off-by: Jonathan Neuschäfer <[email protected]>
> ---
> include/linux/stop_machine.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/stop_machine.h b/include/linux/stop_machine.h
> index 092dc9b..2d3f0b1 100644
> --- a/include/linux/stop_machine.h
> +++ b/include/linux/stop_machine.h
> @@ -94,7 +94,7 @@ static inline int try_stop_cpus(const struct cpumask *cpumask,
> * stop_machine "Bogolock": stop the entire machine, disable
> * interrupts. This is a very heavy lock, which is equivalent to
> * grabbing every spinlock (and more). So the "read" side to such a
> - * lock is anything which disables preeempt.
> + * lock is anything which disables preemption.

If there wouldn't be the typo, I'd gladly keep the old version there. But
with the typo being there anyway ... applied.

--
Jiri Kosina
SUSE Labs