Do not specify the size to move. Allow the assembler to figure it out.

This commit is contained in:
David E. O'Brien 2000-05-10 01:06:39 +00:00
parent a77751d7ee
commit 7ff3366e73
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60298
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ static jmp_buf db_global_jmpbuf;
static int db_global_jmpbuf_valid;
#ifdef __GNUC__
#define rss() ({u_short ss; __asm __volatile("movl %%ss,%0" : "=r" (ss)); ss;})
#define rss() ({u_short ss; __asm __volatile("mov %%ss,%0" : "=r" (ss)); ss;})
#endif
/*

View File

@ -59,7 +59,7 @@ static jmp_buf db_global_jmpbuf;
static int db_global_jmpbuf_valid;
#ifdef __GNUC__
#define rss() ({u_short ss; __asm __volatile("movl %%ss,%0" : "=r" (ss)); ss;})
#define rss() ({u_short ss; __asm __volatile("mov %%ss,%0" : "=r" (ss)); ss;})
#endif
/*