Backout my last commit.

Requested by: bde
This commit is contained in:
David Xu 2003-04-20 01:35:21 +00:00
parent 43652a6ba6
commit d1fc2022c3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113728
2 changed files with 8 additions and 8 deletions

View File

@ -444,16 +444,16 @@ invlpg(u_int addr)
static __inline u_int
rfs(void)
{
u_short sel;
__asm __volatile("movw %%fs,%0" : "=rm" (sel));
u_int sel;
__asm __volatile("movl %%fs,%0" : "=rm" (sel));
return (sel);
}
static __inline u_int
rgs(void)
{
u_short sel;
__asm __volatile("movw %%gs,%0" : "=rm" (sel));
u_int sel;
__asm __volatile("movl %%gs,%0" : "=rm" (sel));
return (sel);
}

View File

@ -444,16 +444,16 @@ invlpg(u_int addr)
static __inline u_int
rfs(void)
{
u_short sel;
__asm __volatile("movw %%fs,%0" : "=rm" (sel));
u_int sel;
__asm __volatile("movl %%fs,%0" : "=rm" (sel));
return (sel);
}
static __inline u_int
rgs(void)
{
u_short sel;
__asm __volatile("movw %%gs,%0" : "=rm" (sel));
u_int sel;
__asm __volatile("movl %%gs,%0" : "=rm" (sel));
return (sel);
}