git: 564a3ac63abe - main - i386: Fix a few typos

Gordon Bergling gbe at FreeBSD.org
Sat Mar 13 15:11:50 UTC 2021


The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=564a3ac63abe166c6174ed3a58e78859a738ee58

commit 564a3ac63abe166c6174ed3a58e78859a738ee58
Author:     Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-03-13 15:10:01 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-03-13 15:10:01 +0000

    i386: Fix a few typos
    
    - wheter -> whether
    - while here, fix some whitespace issues
    
    MFC after:      1 week
---
 sys/i386/i386/initcpu.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/sys/i386/i386/initcpu.c b/sys/i386/i386/initcpu.c
index 9ba269af2b32..ee2d7ec224e5 100644
--- a/sys/i386/i386/initcpu.c
+++ b/sys/i386/i386/initcpu.c
@@ -2,21 +2,21 @@
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
  *
  * Copyright (c) KATO Takenori, 1997, 1998.
- * 
+ *
  * All rights reserved.  Unpublished rights reserved under the copyright
  * laws of Japan.
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
- * 
+ *
  * 1. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer as
  *    the first lines of this file unmodified.
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.
- * 
+ *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
@@ -837,7 +837,7 @@ enable_K5_wt_alloc(void)
 		msr |= AMD_WT_ALLOC_TME | AMD_WT_ALLOC_FRE;
 
 		/*
-		 * There is no way to know wheter 15-16M hole exists or not. 
+		 * There is no way to know whether 15-16M hole exists or not.
 		 * Therefore, we disable write allocate for this range.
 		 */
 		wrmsr(0x86, 0x0ff00f0);
@@ -890,7 +890,7 @@ enable_K6_wt_alloc(void)
 		whcr |=  0x0001LL;
 #else
 	/*
-	 * There is no way to know wheter 15-16M hole exists or not. 
+	 * There is no way to know whether 15-16M hole exists or not.
 	 * Therefore, we disable write allocate for this range.
 	 */
 	whcr &= ~0x0001LL;
@@ -940,7 +940,7 @@ enable_K6_2_wt_alloc(void)
 		whcr |=  1LL << 16;
 #else
 	/*
-	 * There is no way to know wheter 15-16M hole exists or not. 
+	 * There is no way to know whether 15-16M hole exists or not.
 	 * Therefore, we disable write allocate for this range.
 	 */
 	whcr &= ~(1LL << 16);


More information about the dev-commits-src-main mailing list