Ignore:
File:
1 edited

Legend:

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

    rd1582b50 rb169619  
    6969#include <assert.h>
    7070#include <stdio.h>
    71 #include <mem.h>
     71#include <memw.h>
    7272#include <macros.h>
    7373#include <bitops.h>
     
    8686 * address space operations such as creating or locking page tables.
    8787 */
    88 as_operations_t *as_operations = NULL;
     88const as_operations_t *as_operations = NULL;
    8989
    9090/** Cache for as_t objects */
     
    16881688        spinlock_unlock(&asidlock);
    16891689
     1690        if (AS)
     1691                as_release(AS);
     1692
    16901693        AS = new_as;
     1694
     1695        as_hold(AS);
    16911696}
    16921697
Note: See TracChangeset for help on using the changeset viewer.