summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 20:25:53 +0000
committerphk <phk@FreeBSD.org>2003-05-31 20:25:53 +0000
commit7722d85e802f567092b5651dd1fda564c1a6918c (patch)
treea198e7d5f25a579733dd7e4287b95be96e9664d5 /sys/amd64
parente01d5a0a971cf49ef017c5f56c5e8b189c52db87 (diff)
downloadFreeBSD-src-7722d85e802f567092b5651dd1fda564c1a6918c.zip
FreeBSD-src-7722d85e802f567092b5651dd1fda564c1a6918c.tar.gz
Avoid unbalancing the { } count in the source file with #ifdef by
putting the opening { after the #ifdef ... #endif sequence. Found by: FlexeLint
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/bios.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/amd64/amd64/bios.c b/sys/amd64/amd64/bios.c
index 9357438..c620a2a 100644
--- a/sys/amd64/amd64/bios.c
+++ b/sys/amd64/amd64/bios.c
@@ -385,10 +385,11 @@ bios16(struct bios_args *args, char *fmt, ...)
ptd = (pd_entry_t *)rcr3();
#ifdef PAE
- if (ptd == IdlePDPT) {
+ if (ptd == IdlePDPT)
#else
- if (ptd == IdlePTD) {
+ if (ptd == IdlePTD)
#endif
+ {
/*
* no page table, so create one and install it.
*/
OpenPOWER on IntegriCloud