Created
June 26, 2015 11:31
-
-
Save pedrompcaetano/34245a03024da384c6b7 to your computer and use it in GitHub Desktop.
fucking patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: acpimadt.c | |
=================================================================== | |
RCS file: /data/src/openbsd/src/sys/dev/acpi/acpimadt.c,v | |
retrieving revision 1.31 | |
diff -u -p -r1.31 acpimadt.c | |
--- acpimadt.c 9 Feb 2015 08:15:19 -0000 1.31 | |
+++ acpimadt.c 24 Jun 2015 22:33:04 -0000 | |
@@ -239,13 +239,13 @@ acpimadt_attach(struct device *parent, s | |
entry->madt_lapic.apic_id, | |
entry->madt_lapic.flags); | |
+ if ((entry->madt_lapic.flags & ACPI_PROC_ENABLE) == 0) | |
+ break; | |
+ | |
lapic_map[entry->madt_lapic.acpi_proc_id] = | |
entry->madt_lapic.apic_id; | |
acpi_lapic_flags[entry->madt_lapic.acpi_proc_id] = | |
entry->madt_lapic.flags; | |
- | |
- if ((entry->madt_lapic.flags & ACPI_PROC_ENABLE) == 0) | |
- break; | |
memset(&caa, 0, sizeof(struct cpu_attach_args)); | |
if (lapic_cpu_number() == entry->madt_lapic.apic_id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment