diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/paravirt.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c index 884aa4053313..1b10af835c31 100644 --- a/arch/x86/kernel/paravirt.c +++ b/arch/x86/kernel/paravirt.c | |||
@@ -62,11 +62,6 @@ void __init default_banner(void) | |||
62 | pv_info.name); | 62 | pv_info.name); |
63 | } | 63 | } |
64 | 64 | ||
65 | /* Simple instruction patching code. */ | ||
66 | #define DEF_NATIVE(ops, name, code) \ | ||
67 | extern const char start_##ops##_##name[], end_##ops##_##name[]; \ | ||
68 | asm("start_" #ops "_" #name ": " code "; end_" #ops "_" #name ":") | ||
69 | |||
70 | /* Undefined instruction for dealing with missing ops pointers. */ | 65 | /* Undefined instruction for dealing with missing ops pointers. */ |
71 | static const unsigned char ud2a[] = { 0x0f, 0x0b }; | 66 | static const unsigned char ud2a[] = { 0x0f, 0x0b }; |
72 | 67 | ||