diff options
author | Pekka Enberg <penberg@kernel.org> | 2012-04-27 19:00:29 +0000 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-04-27 19:00:29 +0000 |
commit | bc4cba7fd0352591f8e2f7d9f85d03319a1cf333 (patch) | |
tree | 4708a9ec246ad6d153ca0f77ec214e8f8fb0c1c3 | |
parent | f42d7b6d24ec0f4b45917871647dfa79e0eff899 (diff) | |
download | jato-bc4cba7fd0352591f8e2f7d9f85d03319a1cf333.tar.gz |
x86: Move X86_CALL_DISP_OFFSET to <arch/isa.h>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
-rw-r--r-- | arch/x86/include/arch/isa.h | 1 | ||||
-rw-r--r-- | arch/x86/inline-cache.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/arch/isa.h b/arch/x86/include/arch/isa.h index a656503c..e006cd92 100644 --- a/arch/x86/include/arch/isa.h +++ b/arch/x86/include/arch/isa.h @@ -2,6 +2,7 @@ #define JATO_X86_ISA_H #define X86_CALL_INSN_SIZE 5 +#define X86_CALL_DISP_OFFSET 1 #define X86_CALL_OPC 0xe8 #endif /* JATO_X86_ISA_H */ diff --git a/arch/x86/inline-cache.c b/arch/x86/inline-cache.c index 69869145..ea2b94d5 100644 --- a/arch/x86/inline-cache.c +++ b/arch/x86/inline-cache.c @@ -17,7 +17,6 @@ #include <stdbool.h> #include <pthread.h> -#define X86_CALL_DISP_OFFSET 1 #define X86_MOV_IMM_REG_INSN_SIZE 5 #define X86_MOV_IMM_REG_IMM_OFFSET 1 #define X86_MOV_EAX_OPC 0xb8 |