Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305443
b: refs/heads/master
c: 5d6f8d7
h: refs/heads/master
i:
  305441: fdaa0c5
  305439: 449552a
v: v3
  • Loading branch information
H. Peter Anvin committed Apr 20, 2012
1 parent 7a0113e commit 5a81fcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: d7abc0fa997972ddb6d3c403e03a6eefda0c0881
refs/heads/master: 5d6f8d77ede50417dcca4c31a74f0d40a1ee537a
10 changes: 2 additions & 8 deletions trunk/arch/x86/kernel/test_rodata.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <linux/module.h>
#include <asm/cacheflush.h>
#include <asm/sections.h>
#include <asm/asm.h>

int rodata_test(void)
{
Expand Down Expand Up @@ -42,14 +43,7 @@ int rodata_test(void)
".section .fixup,\"ax\"\n"
"2: jmp 1b\n"
".previous\n"
".section __ex_table,\"a\"\n"
" .align 16\n"
#ifdef CONFIG_X86_32
" .long 0b,2b\n"
#else
" .quad 0b,2b\n"
#endif
".previous"
_ASM_EXTABLE(0b,2b)
: [rslt] "=r" (result)
: [rodata_test] "r" (&rodata_test_data), [zero] "r" (0UL)
);
Expand Down

0 comments on commit 5a81fcb

Please sign in to comment.