Skip to content

Commit

Permalink
spelling fixes: arch/um/
Browse files Browse the repository at this point in the history
Spelling fixes in arch/um/.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
  • Loading branch information
nomis authored and AdrianBunk committed Oct 19, 2007
1 parent 0c79cf6 commit b60745b
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion arch/um/drivers/line.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static void line_timer_cb(struct work_struct *work)
/*
* 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)
{
Expand Down
2 changes: 1 addition & 1 deletion arch/um/drivers/null.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "chan_user.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 void *null_init(char *str, int device, const struct chan_opts *opts)
Expand Down
2 changes: 1 addition & 1 deletion arch/um/drivers/stderr_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/* 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.
*
* Initialized at init time.
Expand Down
4 changes: 2 additions & 2 deletions arch/um/kernel/gmon_syms.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ EXPORT_SYMBOL(__bb_init_func);
* versions in libgcov.
*
* 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
* be overriden by any other one.
* So, unconditionally export it. But also give it a weak declaration, which will
* be overridden by any other one.
*/

extern void __gcov_init(void *) __attribute__((weak));
Expand Down
2 changes: 1 addition & 1 deletion arch/um/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* handlers).
*/
Expand Down
2 changes: 1 addition & 1 deletion arch/um/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ void send_sigtrap(struct task_struct *tsk, struct uml_pt_regs *regs,
/* User-mode eip? */
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);
}

Expand Down
2 changes: 1 addition & 1 deletion arch/um/sys-i386/bug.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <linux/uaccess.h>

/* 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)
Expand Down
2 changes: 1 addition & 1 deletion arch/um/sys-i386/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* 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.
*/
static int get_free_idx(struct task_struct* task)
Expand Down
2 changes: 1 addition & 1 deletion arch/um/sys-x86_64/bug.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <linux/uaccess.h>

/* 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)
Expand Down

0 comments on commit b60745b

Please sign in to comment.