mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-18 03:33:48 +08:00
Update.
1998-10-09 Ulrich Drepper <drepper@cygnus.com> * sysdeps/i386/i686/pt-machine.h: Remove unused inline definitions.
This commit is contained in:
@@ -58,21 +58,5 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
|
||||
}
|
||||
|
||||
|
||||
extern inline int
|
||||
get_eflags (void)
|
||||
{
|
||||
int res;
|
||||
__asm__ __volatile__ ("pushfl; popl %0" : "=r" (res) : );
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
extern inline void
|
||||
set_eflags (int newflags)
|
||||
{
|
||||
__asm__ __volatile__ ("pushl %0; popfl" : : "r" (newflags) : "cc");
|
||||
}
|
||||
|
||||
|
||||
/* Use the LDT implementation only if the kernel is fixed. */
|
||||
//#include "../useldt.h"
|
||||
|
||||
Reference in New Issue
Block a user