Commit b60745b9 authored by Simon Arlott's avatar Simon Arlott Committed by Adrian Bunk

spelling fixes: arch/um/

Spelling fixes in arch/um/.
Signed-off-by: default avatarSimon Arlott <simon@fire.lp0.eu>
Acked-by: default avatarJeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
parent 0c79cf6a
...@@ -35,7 +35,7 @@ static void line_timer_cb(struct work_struct *work) ...@@ -35,7 +35,7 @@ static void line_timer_cb(struct work_struct *work)
/* /*
* Returns the free space inside the ring buffer of this line. * Returns the free space inside the ring buffer of this line.
* *
* Should be called while holding line->lock (this does not modify datas). * Should be called while holding line->lock (this does not modify data).
*/ */
static int write_room(struct line *line) static int write_room(struct line *line)
{ {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "chan_user.h" #include "chan_user.h"
#include "os.h" #include "os.h"
/* This address is used only as a unique identifer */ /* This address is used only as a unique identifier */
static int null_chan; static int null_chan;
static void *null_init(char *str, int device, const struct chan_opts *opts) static void *null_init(char *str, int device, const struct chan_opts *opts)
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/* trivial console driver -- simply dump everything to stderr */ /* trivial console driver -- simply dump everything to stderr */
/* /*
* Don't register by default -- as this registeres very early in the * Don't register by default -- as this registers very early in the
* boot process it becomes the default console. * boot process it becomes the default console.
* *
* Initialized at init time. * Initialized at init time.
......
...@@ -12,8 +12,8 @@ EXPORT_SYMBOL(__bb_init_func); ...@@ -12,8 +12,8 @@ EXPORT_SYMBOL(__bb_init_func);
* versions in libgcov. * versions in libgcov.
* *
* Since SuSE backported the fix, we cannot handle it depending on GCC version. * Since SuSE backported the fix, we cannot handle it depending on GCC version.
* So, unconditinally export it. But also give it a weak declaration, which will * So, unconditionally export it. But also give it a weak declaration, which will
* be overriden by any other one. * be overridden by any other one.
*/ */
extern void __gcov_init(void *) __attribute__((weak)); extern void __gcov_init(void *) __attribute__((weak));
......
...@@ -326,7 +326,7 @@ int deactivate_all_fds(void) ...@@ -326,7 +326,7 @@ int deactivate_all_fds(void)
} }
/* /*
* do_IRQ handles all normal device IRQ's (the special * do_IRQ handles all normal device IRQs (the special
* SMP cross-CPU interrupts have their own specific * SMP cross-CPU interrupts have their own specific
* handlers). * handlers).
*/ */
......
...@@ -237,7 +237,7 @@ void send_sigtrap(struct task_struct *tsk, struct uml_pt_regs *regs, ...@@ -237,7 +237,7 @@ void send_sigtrap(struct task_struct *tsk, struct uml_pt_regs *regs,
/* User-mode eip? */ /* User-mode eip? */
info.si_addr = UPT_IS_USER(regs) ? (void __user *) UPT_IP(regs) : NULL; info.si_addr = UPT_IS_USER(regs) ? (void __user *) UPT_IP(regs) : NULL;
/* Send us the fakey SIGTRAP */ /* Send us the fake SIGTRAP */
force_sig_info(SIGTRAP, &info, tsk); force_sig_info(SIGTRAP, &info, tsk);
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <linux/uaccess.h> #include <linux/uaccess.h>
/* Mostly copied from i386/x86_86 - eliminated the eip < PAGE_OFFSET because /* Mostly copied from i386/x86_86 - eliminated the eip < PAGE_OFFSET because
* that's not relevent in skas mode. * that's not relevant in skas mode.
*/ */
int is_valid_bugaddr(unsigned long eip) int is_valid_bugaddr(unsigned long eip)
......
...@@ -45,7 +45,7 @@ int do_get_thread_area(struct user_desc *info) ...@@ -45,7 +45,7 @@ int do_get_thread_area(struct user_desc *info)
* XXX: Consider leaving one free slot for glibc usage at first place. This must * XXX: Consider leaving one free slot for glibc usage at first place. This must
* be done here (and by changing GDT_ENTRY_TLS_* macros) and nowhere else. * be done here (and by changing GDT_ENTRY_TLS_* macros) and nowhere else.
* *
* Also, this must be tested when compiling in SKAS mode with dinamic linking * Also, this must be tested when compiling in SKAS mode with dynamic linking
* and running against NPTL. * and running against NPTL.
*/ */
static int get_free_idx(struct task_struct* task) static int get_free_idx(struct task_struct* task)
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <linux/uaccess.h> #include <linux/uaccess.h>
/* Mostly copied from i386/x86_86 - eliminated the eip < PAGE_OFFSET because /* Mostly copied from i386/x86_86 - eliminated the eip < PAGE_OFFSET because
* that's not relevent in skas mode. * that's not relevant in skas mode.
*/ */
int is_valid_bugaddr(unsigned long eip) int is_valid_bugaddr(unsigned long eip)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment