Changeset 3d6beaa in mainline for kernel/arch/ia32/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/ia32/include/asm.h

    r4bd675d r3d6beaa  
    362362}
    363363
    364 /** Return current IP address */
    365 static inline uintptr_t * get_ip()
    366 {
    367         uintptr_t *ip;
    368        
    369         asm volatile (
    370                 "mov %%eip, %[ip]"
    371                 : [ip] "=r" (ip)
    372         );
    373        
    374         return ip;
    375 }
    376 
    377364/** Invalidate TLB Entry.
    378365 *
Note: See TracChangeset for help on using the changeset viewer.