Changeset 10c071e in mainline for arch/sparc64/src/trap.c


Ignore:
Timestamp:
2005-12-15T16:57:48Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c68b97
Parents:
b4cad8b2
Message:

Fix ia64 and sparc64 to compile with new atomic_t.
Fix rwlock test #5 and semaphore test #1 to compile with new atomic_t.

sparc64 work.
TBA must be set before a function call when MMU is switched off.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/sparc64/src/trap.c

    rb4cad8b2 r10c071e  
    3232#include <memstr.h>
    3333
     34/** Initialize trap table. */
    3435void trap_init(void)
    3536{
     
    3839         */
    3940        memcpy((void *) trap_table, (void *) tba_read(), TRAP_TABLE_SIZE);
    40 
    41         /* Point TBA to kernel copy of OFW's trap table. */
    42         tba_write((__u64) trap_table);
    4341}
Note: See TracChangeset for help on using the changeset viewer.