diff mbox

[0226/1529] Fix typo

Message ID 20160521120600.11742-1-andrea.gelmini@gelma.net (mailing list archive)
State Rejected
Headers show

Commit Message

Andrea Gelmini May 21, 2016, 12:06 p.m. UTC
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
 arch/powerpc/kernel/process.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Paul Mackerras May 22, 2016, 9:52 p.m. UTC | #1
On Sat, May 21, 2016 at 02:06:00PM +0200, Andrea Gelmini wrote:
> Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
> ---
>  arch/powerpc/kernel/process.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
> index e2f12cb..6d39786 100644
> --- a/arch/powerpc/kernel/process.c
> +++ b/arch/powerpc/kernel/process.c
> @@ -709,7 +709,7 @@ static inline int set_dawr(struct arch_hw_breakpoint *brk)
>  	dawrx |= (brk->type & (HW_BRK_TYPE_PRIV_ALL)) \
>  		                   >> 3; //* PRIM bits */
>  	/* dawr length is stored in field MDR bits 48:53.  Matches range in
> -	   doublewords (64 bits) baised by -1 eg. 0b000000=1DW and
> +	   doublewords (64 bits) raised by -1 eg. 0b000000=1DW and

biased
diff mbox

Patch

diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index e2f12cb..6d39786 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -709,7 +709,7 @@  static inline int set_dawr(struct arch_hw_breakpoint *brk)
 	dawrx |= (brk->type & (HW_BRK_TYPE_PRIV_ALL)) \
 		                   >> 3; //* PRIM bits */
 	/* dawr length is stored in field MDR bits 48:53.  Matches range in
-	   doublewords (64 bits) baised by -1 eg. 0b000000=1DW and
+	   doublewords (64 bits) raised by -1 eg. 0b000000=1DW and
 	   0b111111=64DW.
 	   brk->len is in bytes.
 	   This aligns up to double word size, shifts and does the bias.
@@ -794,7 +794,7 @@  static void tm_reclaim_thread(struct thread_struct *thr,
 	 * this state.
 	 * We do this using the current MSR, rather tracking it in
 	 * some specific thread_struct bit, as it has the additional
-	 * benifit of checking for a potential TM bad thing exception.
+	 * benefit of checking for a potential TM bad thing exception.
 	 */
 	if (!MSR_TM_SUSPENDED(mfmsr()))
 		return;