Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33699
b: refs/heads/master
c: 61171b8
h: refs/heads/master
i:
  33697: 589a42d
  33695: dae2834
v: v3
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Aug 30, 2006
1 parent 6922762 commit 20a66a8
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 29fe5f3bafb644c33269fb0f2a719d4809a07332
refs/heads/master: 61171b8dbd36b0cc34d3813a59a8e4dc2984414d
2 changes: 1 addition & 1 deletion trunk/include/asm-i386/alternative.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static inline void alternatives_smp_switch(int smp) {}
" .align 4\n" \
" .long 661b\n" /* label */ \
" .long 663f\n" /* new instruction */ \
" .byte 0x68\n" /* X86_FEATURE_UP */ \
" .byte " __stringify(X86_FEATURE_UP) "\n" \
" .byte 662b-661b\n" /* sourcelen */ \
" .byte 664f-663f\n" /* replacementlen */ \
".previous\n" \
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/asm-x86_64/alternative.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#ifdef __KERNEL__

#include <linux/types.h>
#include <asm/cpufeature.h>

struct alt_instr {
u8 *instr; /* original instruction */
Expand Down Expand Up @@ -130,7 +131,7 @@ static inline void alternatives_smp_switch(int smp) {}
" .align 8\n" \
" .quad 661b\n" /* label */ \
" .quad 663f\n" /* new instruction */ \
" .byte 0x66\n" /* X86_FEATURE_UP */ \
" .byte " __stringify(X86_FEATURE_UP) "\n" \
" .byte 662b-661b\n" /* sourcelen */ \
" .byte 664f-663f\n" /* replacementlen */ \
".previous\n" \
Expand Down

0 comments on commit 20a66a8

Please sign in to comment.