Changeset 6be2c13 in mainline for kernel/generic/src/mm/as.c


Ignore:
Timestamp:
2018-03-16T20:58:20Z (7 years ago)
Author:
GitHub <noreply@…>
Parents:
973be387 (diff), 4b1c7c6f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-16 20:58:20)
git-committer:
GitHub <noreply@…> (2018-03-16 20:58:20)
Message:

Merge 4b1c7c6ff1e7b982f389a8f841b71af2a85e8cfb into 973be38782462a672111ff6833f8dbb40d2a44bf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/as.c

    r973be387 r6be2c13  
    12171217NO_TRACE static unsigned int area_flags_to_page_flags(unsigned int aflags)
    12181218{
    1219         unsigned int flags = PAGE_USER | PAGE_PRESENT;
    1220 
    1221         if (aflags & AS_AREA_READ)
    1222                 flags |= PAGE_READ;
     1219        unsigned int flags = PAGE_USER;
     1220
     1221        // TODO: AS_AREA_READ currently has no effect.
     1222        // Readability is implied.
    12231223
    12241224        if (aflags & AS_AREA_WRITE)
Note: See TracChangeset for help on using the changeset viewer.