Changeset 63e27ef in mainline for kernel/generic/src/mm/backend_user.c


Ignore:
Timestamp:
2017-06-19T21:47:42Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
deacc58d
Parents:
7354b5e
Message:

ASSERT → assert

File:
1 edited

Legend:

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

    r7354b5e r63e27ef  
    4646#include <typedefs.h>
    4747#include <align.h>
    48 #include <debug.h>
     48#include <assert.h>
    4949#include <errno.h>
    5050#include <log.h>
     
    108108int user_page_fault(as_area_t *area, uintptr_t upage, pf_access_t access)
    109109{
    110         ASSERT(page_table_locked(AS));
    111         ASSERT(mutex_locked(&area->lock));
    112         ASSERT(IS_ALIGNED(upage, PAGE_SIZE));
     110        assert(page_table_locked(AS));
     111        assert(mutex_locked(&area->lock));
     112        assert(IS_ALIGNED(upage, PAGE_SIZE));
    113113
    114114        if (!as_area_check_access(area, access))
     
    162162void user_frame_free(as_area_t *area, uintptr_t page, uintptr_t frame)
    163163{
    164         ASSERT(page_table_locked(area->as));
    165         ASSERT(mutex_locked(&area->lock));
     164        assert(page_table_locked(area->as));
     165        assert(mutex_locked(&area->lock));
    166166
    167167        pfn_t pfn = ADDR2PFN(frame);
Note: See TracChangeset for help on using the changeset viewer.