Subject: [PATCH]: cosmetic fixes
[MTRR 2.6.19.1]: cosmetic fixes
Signed-off-by: Giuliano Procida <[email protected]>
---
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]