summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
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;
}