Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89063
b: refs/heads/master
c: 749c970
h: refs/heads/master
i:
  89061: 89e3b71
  89059: d77166b
  89055: 3dc06a1
v: v3
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Apr 17, 2008
1 parent 3435145 commit 4fa9885
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 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: 5524ea320d80e3ac6aeeec44216660831c76da08
refs/heads/master: 749c970ae9fa43b4fcf17ac53022a953007d58f4
16 changes: 6 additions & 10 deletions trunk/arch/x86/kernel/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -268,18 +268,14 @@ bad_address:
jmp bad_address

#ifdef CONFIG_EARLY_PRINTK
.macro early_idt_tramp first, last
.ifgt \last-\first
early_idt_tramp \first, \last-1
.endif
movl $\last,%esi
jmp early_idt_handler
.endm

.globl early_idt_handlers
early_idt_handlers:
.set maxe, NUM_EXCEPTION_VECTORS-1
early_idt_tramp 0, maxe
i = 0
.rept NUM_EXCEPTION_VECTORS
movl $i, %esi
jmp early_idt_handler
i = i + 1
.endr
#endif

ENTRY(early_idt_handler)
Expand Down

0 comments on commit 4fa9885

Please sign in to comment.