Changeset 7ee0e2f in mainline for arch


Ignore:
Timestamp:
2006-06-26T10:18:05Z (20 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.

Location:
arch
Files:
2 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;
  • arch/ppc64/src/mm/page.c

    re45f81a r7ee0e2f  
    275275               
    276276                /* Allocate page hash table */
    277                 phte_t *physical_phte = (phte_t *) frame_alloc(PHT_ORDER, FRAME_KA | FRAME_PANIC);
     277                phte_t *physical_phte = (phte_t *) frame_alloc(PHT_ORDER, FRAME_KA | FRAME_ATOMIC);
    278278               
    279279                ASSERT((__address) physical_phte % (1 << PHT_BITS) == 0);
Note: See TracChangeset for help on using the changeset viewer.