Changeset 8565a42 in mainline for kernel/generic/src/mm/backend_anon.c


Ignore:
Timestamp:
2018-03-02T20:34:50Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (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-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

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

    r3061bc1 r8565a42  
    125125            node) {
    126126                unsigned int i;
    127                
     127
    128128                for (i = 0; i < node->keys; i++) {
    129129                        uintptr_t base = node->key[i];
    130130                        size_t count = (size_t) node->value[i];
    131131                        unsigned int j;
    132                        
     132
    133133                        for (j = 0; j < count; j++) {
    134134                                pte_t pte;
    135135                                bool found;
    136                        
     136
    137137                                page_table_lock(area->as, false);
    138138                                found = page_mapping_find(area->as,
     
    201201        if (area->sh_info->shared) {
    202202                btree_node_t *leaf;
    203                
     203
    204204                /*
    205205                 * The area is shared, chances are that the mapping can be found
     
    214214                        bool allocate = true;
    215215                        unsigned int i;
    216                        
     216
    217217                        /*
    218218                         * Zero can be returned as a valid frame address.
     
    230230                                memsetb((void *) kpage, PAGE_SIZE, 0);
    231231                                km_temporary_page_put(kpage);
    232                                
     232
    233233                                /*
    234234                                 * Insert the address of the newly allocated
     
    272272        }
    273273        mutex_unlock(&area->sh_info->lock);
    274        
     274
    275275        /*
    276276         * Map 'upage' to 'frame'.
     
    281281        if (!used_space_insert(area, upage, 1))
    282282                panic("Cannot insert used space.");
    283                
     283
    284284        return AS_PF_OK;
    285285}
Note: See TracChangeset for help on using the changeset viewer.