Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88605
b: refs/heads/master
c: bc7c314
h: refs/heads/master
i:
  88603: 5b4d75d
v: v3
  • Loading branch information
Glauber Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent 6af3415 commit 1c213c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 96597fd2be7070631ad0776cd8bced21415fd5e3
refs/heads/master: bc7c314d7048017caa0725b41cc577cccf4fc53b
7 changes: 7 additions & 0 deletions trunk/arch/x86/kernel/vsmp_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ void __init vsmp_init(void)
PCI_DEVICE_ID_SCALEMP_VSMP_CTL))
return;

/* If we are, use the distinguished irq functions */
pv_irq_ops.irq_disable = vsmp_irq_disable;
pv_irq_ops.irq_enable = vsmp_irq_enable;
pv_irq_ops.save_fl = vsmp_save_fl;
pv_irq_ops.restore_fl = vsmp_restore_fl;
pv_init_ops.patch = vsmp_patch;

/* set vSMP magic bits to indicate vSMP capable kernel */
cfg = read_pci_config(0, 0x1f, 0, PCI_BASE_ADDRESS_0);
address = early_ioremap(cfg, 8);
Expand Down

0 comments on commit 1c213c4

Please sign in to comment.