the following patch was just integrated into master:
commit eae1696809d6e6834d08ef22aa08c8f200870c59
Author: Patrick Georgi <[email protected]>
Date:   Fri Oct 7 22:41:07 2011 +0200

    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 <[email protected]>

See http://review.coreboot.org/245 for details.

-gerrit

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to