svn commit: r209763 - head/sys/amd64/include
Rui Paulo
rpaulo at FreeBSD.org
Wed Jul 7 12:09:00 UTC 2010
Author: rpaulo
Date: Wed Jul 7 12:08:58 2010
New Revision: 209763
URL: http://svn.freebsd.org/changeset/base/209763
Log:
Fix style issues with the previous commit, namely
use-tab-instead-of-space and don't use underscores in macro variables.
Pointed out by: bde
Modified:
head/sys/amd64/include/segments.h
Modified: head/sys/amd64/include/segments.h
==============================================================================
--- head/sys/amd64/include/segments.h Wed Jul 7 12:04:56 2010 (r209762)
+++ head/sys/amd64/include/segments.h Wed Jul 7 12:08:58 2010 (r209763)
@@ -74,12 +74,12 @@ struct user_segment_descriptor {
u_int64_t sd_hibase:8; /* segment base address (msb) */
} __packed;
-#define USD_GETBASE(_sd) (((_sd)->sd_lobase) | (_sd)->sd_hibase << 24)
-#define USD_SETBASE(_sd, _b) (_sd)->sd_lobase = (_b); \
- (_sd)->sd_hibase = ((_b) >> 24);
-#define USD_GETLIMIT(_sd) (((_sd)->sd_lolimit) | (_sd)->sd_hilimit << 16)
-#define USD_SETLIMIT(_sd, _l) (_sd)->sd_lolimit = (_l); \
- (_sd)->sd_hilimit = ((_l) >> 16);
+#define USD_GETBASE(sd) (((sd)->sd_lobase) | (sd)->sd_hibase << 24)
+#define USD_SETBASE(sd, b) (sd)->sd_lobase = (b); \
+ (sd)->sd_hibase = ((b) >> 24);
+#define USD_GETLIMIT(sd) (((sd)->sd_lolimit) | (sd)->sd_hilimit << 16)
+#define USD_SETLIMIT(sd, l) (sd)->sd_lolimit = (l); \
+ (sd)->sd_hilimit = ((l) >> 16);
/*
* System segment descriptors (128 bit wide)
More information about the svn-src-all
mailing list