Changeset 7ee0e2f in mainline for arch/ia64/src/mm/vhpt.c


Ignore:
Timestamp:
2006-06-26T10:18:05Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2f40fe4
Parents:
e45f81a
Message:

Remove unneeded FRAME_PANIC.
Fix some things broken by last commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/mm/vhpt.c

    re45f81a r7ee0e2f  
    4343__address vhpt_set_up(void)
    4444{
    45         vhpt_base=(vhpt_entry_t*) frame_alloc(VHPT_WIDTH-FRAME_WIDTH,FRAME_KA);
    46         if(!vhpt_base) panic("Kernel configured with VHPT but no memory for table.");
     45        vhpt_base = frame_alloc(VHPT_WIDTH-FRAME_WIDTH,FRAME_KA | FRAME_ATOMIC);
     46        if(!vhpt_base)
     47                panic("Kernel configured with VHPT but no memory for table.");
    4748        vhpt_invalidate_all();
    4849        return (__address) vhpt_base;
Note: See TracChangeset for help on using the changeset viewer.