From: Randy Dunlap Fix typos/spellos in kgdb docbook template and included kernel-doc file(s). Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton --- Documentation/DocBook/kgdb.tmpl | 10 +++++----- include/linux/kgdb.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff -puN Documentation/DocBook/kgdb.tmpl~kgdb-fix-docbook-and-kernel-doc-typos Documentation/DocBook/kgdb.tmpl --- a/Documentation/DocBook/kgdb.tmpl~kgdb-fix-docbook-and-kernel-doc-typos +++ a/Documentation/DocBook/kgdb.tmpl @@ -149,9 +149,9 @@ - The CONFIG_KGDBOE driver can be reconfigured at run - time, if CONFIG_SYSFS and - CONFIG_MODULES by echo'ing a new config string to + The CONFIG_KGDBOE driver can be reconfigured at run time, + if CONFIG_SYSFS and CONFIG_MODULES + are enabled, by echo'ing a new config string to /sys/module/kgdboe/parameter/kgdboe. The driver can be unconfigured with the special string not_configured. @@ -213,7 +213,7 @@ This must be larger than NUMREGBYTES. - CACHE_FLUSH_IS_SAFE: Set to one if it always safe to call + CACHE_FLUSH_IS_SAFE: Set to one if it is always safe to call flush_cache_range or flush_icache_range. On some architectures, these functions may not be safe to call on SMP since we keep other CPUs in a holding pattern. @@ -223,7 +223,7 @@ There are also the following functions for the common backend, - found in kernel/kgdb.c that must be supplied by the + found in kernel/kgdb.c, that must be supplied by the architecture-specific backend. No weak version of these is provided. !Iinclude/linux/kgdb.h diff -puN include/linux/kgdb.h~kgdb-fix-docbook-and-kernel-doc-typos include/linux/kgdb.h --- a/include/linux/kgdb.h~kgdb-fix-docbook-and-kernel-doc-typos +++ a/include/linux/kgdb.h @@ -116,7 +116,7 @@ extern void sleeping_thread_to_gdb_regs( /** * gdb_regs_to_regs - Convert GDB regs to ptrace regs. - * @gdb_regs: A pointer to hold the registers we've recieved from GDB. + * @gdb_regs: A pointer to hold the registers we've received from GDB. * @regs: A pointer to a &struct pt_regs to hold these values in. * * Convert the GDB regs in @gdb_regs into the pt_regs, and store them @@ -130,7 +130,7 @@ extern void gdb_regs_to_regs(unsigned lo * @signo: The signal number of the exception that happened. * @err_code: The error code of the exception that happened. * @remcom_in_buffer: The buffer of the packet we have read. - * @remcom_out_buffer: The buffer, of %BUFMAX to write a packet into. + * @remcom_out_buffer: The buffer of %BUFMAX bytes to write a packet into. * @regs: The &struct pt_regs of the current process. * * This function MUST handle the 'c' and 's' command packets, @@ -173,7 +173,7 @@ extern unsigned long kgdb_fault_jmp_regs * kgdb_fault_setjmp - Store state in case we fault. * @curr_context: An array to store state into. * - * Certain functions may try and access memory, and in doing so may + * Certain functions may try to access memory, and in doing so may * cause a fault. When this happens, we trap it, restore state to * this call, and let ourself know that something bad has happened. */ @@ -195,7 +195,7 @@ extern int kgdb_arch_set_breakpoint(unsi extern int kgdb_arch_remove_breakpoint(unsigned long addr, char *bundle); /** - * struct kgdb_arch - Desribe architecture specific values. + * struct kgdb_arch - Describe architecture specific values. * @gdb_bpt_instr: The instruction to trigger a breakpoint. * @flags: Flags for the breakpoint, currently just %KGDB_HW_BREAKPOINT. * @shadowth: A value of %1 indicates we shadow information on processes. @@ -229,7 +229,7 @@ struct kgdb_arch { }; /** - * struct kgdb_io - Desribe the interface for an I/O driver to talk with KGDB. + * struct kgdb_io - Describe the interface for an I/O driver to talk with KGDB. * @read_char: Pointer to a function that will return one char. * @write_char: Pointer to a function that will write one char. * @flush: Pointer to a function that will flush any pending writes. _