Changeset 4638401 in mainline for kernel/generic/src/mm/tlb.c


Ignore:
Timestamp:
2007-03-26T19:13:00Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
454f1da
Parents:
d5bd8d7
Message:

Coding style and indentation fixes.

File:
1 edited

Legend:

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

    rd5bd8d7 r4638401  
    7979 * @param count Number of pages, if required by type.
    8080 */
    81 void tlb_shootdown_start(tlb_invalidate_type_t type, asid_t asid, uintptr_t page, count_t count)
     81void tlb_shootdown_start(tlb_invalidate_type_t type, asid_t asid,
     82    uintptr_t page, count_t count)
    8283{
    8384        int i;
     
    108109                         * Enqueue the message.
    109110                         */
    110                         cpu->tlb_messages[cpu->tlb_messages_count].type = type;
    111                         cpu->tlb_messages[cpu->tlb_messages_count].asid = asid;
    112                         cpu->tlb_messages[cpu->tlb_messages_count].page = page;
    113                         cpu->tlb_messages[cpu->tlb_messages_count].count = count;
    114                         cpu->tlb_messages_count++;
     111                        index_t idx = cpu->tlb_messages_count++;
     112                        cpu->tlb_messages[idx].type = type;
     113                        cpu->tlb_messages[idx].asid = asid;
     114                        cpu->tlb_messages[idx].page = page;
     115                        cpu->tlb_messages[idx].count = count;
    115116                }
    116117                spinlock_unlock(&cpu->lock);
Note: See TracChangeset for help on using the changeset viewer.