]> Pileus Git - ~andy/linux/blobdiff - arch/x86/kernel/paravirt.c
Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm
[~andy/linux] / arch / x86 / kernel / paravirt.c
index 884aa405331353d0133a62d13f29b665d01fb0be..1b10af835c31d9e45d237f31d7061a8e58946b57 100644 (file)
@@ -62,11 +62,6 @@ void __init default_banner(void)
               pv_info.name);
 }
 
-/* Simple instruction patching code. */
-#define DEF_NATIVE(ops, name, code)                                    \
-       extern const char start_##ops##_##name[], end_##ops##_##name[]; \
-       asm("start_" #ops "_" #name ": " code "; end_" #ops "_" #name ":")
-
 /* Undefined instruction for dealing with missing ops pointers. */
 static const unsigned char ud2a[] = { 0x0f, 0x0b };