Changeset 3d6beaa in mainline for kernel/arch/amd64/include/asm.h


Ignore:
Timestamp:
2010-05-22T22:10:51Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b8230b9
Parents:
4bd675d
Message:

get rid of get_ip()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/include/asm.h

    r4bd675d r3d6beaa  
    332332}
    333333
    334 static inline uintptr_t * get_ip()
    335 {
    336         uintptr_t *ip;
    337        
    338         asm volatile (
    339                 "mov %%rip, %[ip]"
    340                 : [ip] "=r" (ip)
    341         );
    342        
    343         return ip;
    344 }
    345 
    346334/** Invalidate TLB Entry.
    347335 *
Note: See TracChangeset for help on using the changeset viewer.