summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMichael Hayes <mike@aiinc.ca>2003-02-24 03:58:06 -0800
committerDavid Woodhouse <dwmw2@infradead.org>2003-02-24 03:58:06 -0800
commitbfc2b3aa6634326a9dae42b862b2587cd79cd5c1 (patch)
treea68c42dc484ba98d6d2b8609be94e9e15571eec6 /kernel
parentd4b21f44d51c570a9aac3844ecc8147db15e5899 (diff)
[PATCH] Spelling fixes - necessary
This fixes: neccessary -> necessary unneccessary -> unnecessary Fixes 46 occurrences in all.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/cpufreq.c4
-rw-r--r--kernel/suspend.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/kernel/cpufreq.c b/kernel/cpufreq.c
index 5a1118709aed..17d2845accfd 100644
--- a/kernel/cpufreq.c
+++ b/kernel/cpufreq.c
@@ -1078,11 +1078,11 @@ int cpufreq_set_policy(struct cpufreq_policy *policy)
down(&cpufreq_notifier_sem);
- /* adjust if neccessary - all reasons */
+ /* adjust if necessary - all reasons */
notifier_call_chain(&cpufreq_policy_notifier_list, CPUFREQ_ADJUST,
policy);
- /* adjust if neccessary - hardware incompatibility*/
+ /* adjust if necessary - hardware incompatibility*/
notifier_call_chain(&cpufreq_policy_notifier_list, CPUFREQ_INCOMPATIBLE,
policy);
diff --git a/kernel/suspend.c b/kernel/suspend.c
index 5bcf2e90b48a..5801413eeb62 100644
--- a/kernel/suspend.c
+++ b/kernel/suspend.c
@@ -961,7 +961,7 @@ static int relocate_pagedir(void)
printk("Relocating pagedir");
if(!does_collide_order(old_pagedir, (unsigned long)old_pagedir, pagedir_order)) {
- printk("not neccessary\n");
+ printk("not necessary\n");
return 0;
}