Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99901
b: refs/heads/master
c: d338c73
h: refs/heads/master
i:
  99899: 3879272
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Jul 8, 2008
1 parent f596cd4 commit 5724c5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bea41808efdd8815435376209f23f406f8bf435f
refs/heads/master: d338c73c39a6ed0d07fe3bb07c7f12fff0dd237d
4 changes: 2 additions & 2 deletions trunk/include/asm-x86/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@ extern void load_gs_index(unsigned);
"jmp 2b\n" \
".previous\n" \
_ASM_EXTABLE(1b,3b) \
: :"r" (value), "r" (0))
: :"r" (value), "r" (0) : "memory")


/*
* Save a segment register away
*/
#define savesegment(seg, value) \
asm volatile("mov %%" #seg ",%0":"=rm" (value))
asm("mov %%" #seg ",%0":"=rm" (value) : : "memory")

static inline unsigned long get_limit(unsigned long segment)
{
Expand Down

0 comments on commit 5724c5e

Please sign in to comment.