Changeset 51029384 in mainline for arch/ia32


Ignore:
Timestamp:
2005-07-20T13:56:18Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b5eb1ee
Parents:
121dab5
Message:

Fix setters of page table attributes for both IA-32 and MIPS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/include/mm/page.h

    r121dab5 r51029384  
    106106        p->page_cache_disable = !(flags & PAGE_CACHEABLE);
    107107        p->present = !(flags & PAGE_NOT_PRESENT);
    108         p->uaccessible = flags & PAGE_USER;
    109         p->writeable = flags & PAGE_WRITE;
     108        p->uaccessible = (flags & PAGE_USER) != 0;
     109        p->writeable = (flags & PAGE_WRITE) != 0;
    110110}
    111111
Note: See TracChangeset for help on using the changeset viewer.