diff options
Diffstat (limited to 'arch/i386/kernel/head.S')
-rw-r--r-- | arch/i386/kernel/head.S | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/i386/kernel/head.S b/arch/i386/kernel/head.S index 734be5572eb9..b322f72ffaad 100644 --- a/arch/i386/kernel/head.S +++ b/arch/i386/kernel/head.S | |||
@@ -513,10 +513,11 @@ startup_paravirt: | |||
513 | pushl %ecx | 513 | pushl %ecx |
514 | pushl %eax | 514 | pushl %eax |
515 | 515 | ||
516 | /* paravirt.o is last in link, and that probe fn never returns */ | ||
517 | pushl $__start_paravirtprobe | 516 | pushl $__start_paravirtprobe |
518 | 1: | 517 | 1: |
519 | movl 0(%esp), %eax | 518 | movl 0(%esp), %eax |
519 | cmpl $__stop_paravirtprobe, %eax | ||
520 | je unhandled_paravirt | ||
520 | pushl (%eax) | 521 | pushl (%eax) |
521 | movl 8(%esp), %eax | 522 | movl 8(%esp), %eax |
522 | call *(%esp) | 523 | call *(%esp) |
@@ -528,6 +529,10 @@ startup_paravirt: | |||
528 | 529 | ||
529 | addl $4, (%esp) | 530 | addl $4, (%esp) |
530 | jmp 1b | 531 | jmp 1b |
532 | |||
533 | unhandled_paravirt: | ||
534 | /* Nothing wanted us: we're screwed. */ | ||
535 | ud2 | ||
531 | #endif | 536 | #endif |
532 | 537 | ||
533 | /* | 538 | /* |