LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH]: MTRR: cosmetic fixes
@ 2007-01-16  8:12 Giuliano Procida
  0 siblings, 0 replies; only message in thread
From: Giuliano Procida @ 2007-01-16  8:12 UTC (permalink / raw)
  To: rgooch; +Cc: trivial, linux-kernel, giuliano.procida

Subject: [PATCH]: cosmetic fixes

[MTRR 2.6.19.1]: cosmetic fixes

Signed-off-by: Giuliano Procida <giuliano.procida@googlemail.com>

---

Fixed incorrect (though identical) types in struct mtrr_gentry32 and
tided some badly-indented comments.

--- linux-source-2.6.19.1.orig/include/asm-x86_64/mtrr.h	2006-12-11 19:32:53.000000000 +0000
+++ linux-source-2.6.19.1/include/asm-x86_64/mtrr.h	2007-01-16 07:33:19.000000000 +0000
@@ -30,7 +30,7 @@
 struct mtrr_sentry
 {
     unsigned long base;    /*  Base address     */
-    unsigned int size;    /*  Size of region   */
+    unsigned int size;     /*  Size of region   */
     unsigned int type;     /*  Type of region   */
 };
 
@@ -41,7 +41,7 @@ struct mtrr_sentry
 struct mtrr_gentry
 {
     unsigned long base;    /*  Base address     */
-    unsigned int size;    /*  Size of region   */
+    unsigned int size;     /*  Size of region   */
     unsigned int regnum;   /*  Register number  */
     unsigned int type;     /*  Type of region   */
 };
@@ -108,15 +108,15 @@ static __inline__ int mtrr_del_page (int
 struct mtrr_sentry32
 {
     compat_ulong_t base;    /*  Base address     */
-    compat_uint_t size;    /*  Size of region   */
+    compat_uint_t size;     /*  Size of region   */
     compat_uint_t type;     /*  Type of region   */
 };
 
 struct mtrr_gentry32
 {
-    compat_ulong_t regnum;   /*  Register number  */
-    compat_uint_t base;    /*  Base address     */
-    compat_uint_t size;    /*  Size of region   */
+    compat_uint_t regnum;   /*  Register number  */
+    compat_ulong_t base;    /*  Base address     */
+    compat_uint_t size;     /*  Size of region   */
     compat_uint_t type;     /*  Type of region   */
 };
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-17  5:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-16  8:12 [PATCH]: MTRR: cosmetic fixes Giuliano Procida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).