This is a general cleanup patch
[coreboot.git] / src / include / cpu / x86 / lapic.h
index 2b77177bbfe70b8b73100354ef353503fda1980b..de99deebfe6691bf1e563e3592b165ee95f08b42 100644 (file)
@@ -60,12 +60,13 @@ static inline __attribute__((always_inline)) unsigned long lapicid(void)
  */
 static inline __attribute__((always_inline)) void stop_this_cpu(void)
 {
-
        /* Called by an AP when it is ready to halt and wait for a new task */
        for(;;) {
                hlt();
        }
 }
+#else
+void stop_this_cpu(void);
 #endif
 
 #if ! defined (__ROMCC__) && !defined(__PRE_RAM__)