Avoid unbalancing the { } count in the source file with #ifdef by
putting the opening { after the #ifdef ... #endif sequence. Found by: FlexeLint
This commit is contained in:
parent
e01d5a0a97
commit
7722d85e80
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user