Changeset 3ee8a075 in mainline for kernel/arch/ia64/src/mm/tlb.c


Ignore:
Timestamp:
2007-06-06T20:25:51Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6b781c0
Parents:
44bec47
Message:

Replace gcc-specific FUNCTION with C99 func.
suncc's xregs=no%float can be used only on sparc64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/mm/tlb.c

    r44bec47 r3ee8a075  
    471471                if (as_page_fault(va, PF_ACCESS_EXEC, istate) == AS_PF_FAULT) {
    472472                        fault_if_from_uspace(istate,"Page fault at %p",va);
    473                         panic("%s: va=%p, rid=%d, iip=%p\n", __FUNCTION__, va, rid, istate->cr_iip);
     473                        panic("%s: va=%p, rid=%d, iip=%p\n", __func__, va, rid, istate->cr_iip);
    474474                }
    475475        }
     
    518518                if (as_page_fault(va, PF_ACCESS_READ, istate) == AS_PF_FAULT) {
    519519                        fault_if_from_uspace(istate,"Page fault at %p",va);
    520                         panic("%s: va=%p, rid=%d, iip=%p\n", __FUNCTION__, va, rid, istate->cr_iip);
     520                        panic("%s: va=%p, rid=%d, iip=%p\n", __func__, va, rid, istate->cr_iip);
    521521                }
    522522        }
     
    532532void data_nested_tlb_fault(uint64_t vector, istate_t *istate)
    533533{
    534         panic("%s\n", __FUNCTION__);
     534        panic("%s\n", __func__);
    535535}
    536536
     
    564564                if (as_page_fault(va, PF_ACCESS_WRITE, istate) == AS_PF_FAULT) {
    565565                        fault_if_from_uspace(istate,"Page fault at %p",va);
    566                         panic("%s: va=%p, rid=%d, iip=%p\n", __FUNCTION__, va, rid, istate->cr_iip);
     566                        panic("%s: va=%p, rid=%d, iip=%p\n", __func__, va, rid, istate->cr_iip);
    567567                        t->d = true;
    568568                        dtc_pte_copy(t);
     
    601601                if (as_page_fault(va, PF_ACCESS_EXEC, istate) == AS_PF_FAULT) {
    602602                        fault_if_from_uspace(istate,"Page fault at %p",va);
    603                         panic("%s: va=%p, rid=%d, iip=%p\n", __FUNCTION__, va, rid, istate->cr_iip);
     603                        panic("%s: va=%p, rid=%d, iip=%p\n", __func__, va, rid, istate->cr_iip);
    604604                        t->a = true;
    605605                        itc_pte_copy(t);
     
    638638                if (as_page_fault(va, PF_ACCESS_READ, istate) == AS_PF_FAULT) {
    639639                        fault_if_from_uspace(istate,"Page fault at %p",va);
    640                         panic("%s: va=%p, rid=%d, iip=%p\n", __FUNCTION__, va, rid, istate->cr_iip);
     640                        panic("%s: va=%p, rid=%d, iip=%p\n", __func__, va, rid, istate->cr_iip);
    641641                        t->a = true;
    642642                        itc_pte_copy(t);
     
    680680                if (as_page_fault(va, PF_ACCESS_READ, istate) == AS_PF_FAULT) {
    681681                        fault_if_from_uspace(istate,"Page fault at %p",va);
    682                         panic("%s: va=%p, rid=%d\n", __FUNCTION__, va, rid);
     682                        panic("%s: va=%p, rid=%d\n", __func__, va, rid);
    683683                }
    684684        }
Note: See TracChangeset for help on using the changeset viewer.