[coreboot] Patch merged into coreboot/master: a571c70 Fix gcc-4.7 building problem.

gerrit at coreboot.org gerrit at coreboot.org
Mon Nov 12 07:39:32 CET 2012

the following patch was just integrated into master:
commit a571c70c14a86d242be39fc12610b2519499379f
Author: Han Shen <shenhan at google.com>
Date:   Tue Oct 16 10:42:25 2012 -0700

    Fix gcc-4.7 building problem.
    Applied function attribute to function definition to avoid 'conflicting type' warning.
    Function declaration is in src/include/cpu.h
      void secondary_cpu_init(unsigned int cpu_index)__attribute__((regparm(0)));
    But function definition in lapic_cpu_init.c is missing the "__attribute__" part.
    Change-Id: Idb7cd00fda5a2d486893f9866920929c685d266e
    Signed-off-by: Han Shen <shenhan at google.com>
    Reviewed-on: http://review.coreboot.org/1784
    Tested-by: build bot (Jenkins)
    Reviewed-by: Anton Kochkov <anton.kochkov at gmail.com>

Build-Tested: build bot (Jenkins) at Mon Nov 12 07:15:45 2012, giving +1
Reviewed-By: Anton Kochkov <anton.kochkov at gmail.com> at Mon Nov 12 07:39:31 2012, giving +2
See http://review.coreboot.org/1784 for details.


More information about the coreboot mailing list