lkml.org 
[lkml]   [2007]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH]: MTRR: cosmetic fixes
Date
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 */
};

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-01-17 06:25    [W:0.090 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site