Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82847
b: refs/heads/master
c: 9290909
h: refs/heads/master
i:
  82845: aa7ca6d
  82843: 8d386c4
  82839: 895d3d6
  82831: 559e832
  82815: ea18d4a
v: v3
  • Loading branch information
H. Peter Anvin authored and Ingo Molnar committed Feb 4, 2008
1 parent 4961515 commit 17c8f5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 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: a34746bc43eb63e545abf5eb002d96483a54ee32
refs/heads/master: 92909098a3b27147c4b80f9c387ccd63676aa807
12 changes: 2 additions & 10 deletions trunk/arch/x86/kernel/test_nx.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <linux/module.h>
#include <linux/sort.h>
#include <asm/uaccess.h>
#include <asm/asm.h>

extern int rodata_test_data;

Expand Down Expand Up @@ -89,16 +90,7 @@ static noinline int test_address(void *address)
"2: mov %[zero], %[rslt]\n"
" ret\n"
".previous\n"
".section __ex_table,\"a\"\n"
" .align 8\n"
#ifdef CONFIG_X86_32
" .long 0b\n"
" .long 2b\n"
#else
" .quad 0b\n"
" .quad 2b\n"
#endif
".previous\n"
_ASM_EXTABLE(0b,2b)
: [rslt] "=r" (result)
: [fake_code] "r" (address), [zero] "r" (0UL), "0" (result)
);
Expand Down

0 comments on commit 17c8f5c

Please sign in to comment.