coreboot-kgpe-d16/src
Patrick Georgi c75c79bd02 mptable: Get rid of fixup_virtual_wire
As stated in some code files, fixup_virtual_wire was established
to avoid touching 200 invocations of the mptable code.

Let Coccinelle do it:
  @@
  type T;
  identifier v;
  @@
  -void fixup_virtual_wire(T v)
  -{ ... }

  @@
  expression A;
  identifier v;
  @@
  -v = smp_write_floating_table(A);
  +v = smp_write_floating_table(A, 0);

  @@
  expression A;
  identifier v;
  @@
  -v = smp_write_floating_table(A, 0);
  -fixup_virtual_wire(v);
  +v = smp_write_floating_table(A, 1);

Change-Id: Icad8a063380bf4726be7cebb414d13b574112b14
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/245
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
2011-10-13 01:10:44 +02:00
..
arch/x86 mptable: Get rid of fixup_virtual_wire 2011-10-13 01:10:44 +02:00
boot more ifdef -> if fixes. 2011-04-21 21:26:58 +00:00
console Add support for the tracing infastructure in coreboot. 2011-09-07 01:26:47 +02:00
cpu Fixed broken MTRR for >4GB memory on AMD K8 fam 0fh rev <=E 2011-10-11 08:49:59 +02:00
devices
drivers Add support for memory mapped UARTs to coreboot and add the OXPCIe952 as an 2011-04-26 23:47:04 +00:00
ec Lenovo H8: Always clear audio mute 2011-08-19 14:17:06 +02:00
include SB800: Sata Enable bus master and enable ahci for AHCI/RAID mode 2011-10-12 07:43:48 +02:00
lib Add acpi_get_sleep_type() to i82371eb and P2B _PTS/_WAK methods 2011-09-12 15:56:12 +02:00
mainboard mptable: Get rid of fixup_virtual_wire 2011-10-13 01:10:44 +02:00
northbridge amdk8: ASL include for K8 temperature sensor support in ACPI 2011-10-12 07:54:25 +02:00
pc80 X60: trigger save cmos on volume/brightness change 2011-06-15 08:51:18 +02:00
southbridge SB800 RAID: add kconfig option RAID_MISC_ROM_POSITION 2011-10-12 07:45:09 +02:00
superio w83627hf: ASL include containing virtual device tree of the SuperIO 2011-10-12 07:56:29 +02:00
vendorcode sb800: sata combine mode configure fix 2011-10-11 08:07:21 +02:00
Kconfig Add support for the tracing infastructure in coreboot. 2011-09-07 01:26:47 +02:00
Kconfig.deprecated_options