• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión3a8a83e08d832dc14e715f046aaf0d010d36c523 (tree)
Tiempo2011-02-21 16:30:55
AutorPo-Yu Chuang <ratbert@fara...>
CommiterAlbert Aribaud

Log Message

arm: get_sp() should always be compiled

get_sp() was incorrectly excluded if none of

CONFIG_SETUP_MEMORY_TAGS
CONFIG_CMDLINE_TAG
CONFIG_INITRD_TAG
CONFIG_SERIAL_TAG
CONFIG_REVISION_TAG

were defined.

Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>

Cambiar Resumen

Diferencia incremental

--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -327,12 +327,12 @@ void setup_revision_tag(struct tag **in_params)
327327 }
328328 #endif /* CONFIG_REVISION_TAG */
329329
330-
331330 static void setup_end_tag (bd_t *bd)
332331 {
333332 params->hdr.tag = ATAG_NONE;
334333 params->hdr.size = 0;
335334 }
335+#endif /* CONFIG_SETUP_MEMORY_TAGS || CONFIG_CMDLINE_TAG || CONFIG_INITRD_TAG */
336336
337337 static ulong get_sp(void)
338338 {
@@ -341,5 +341,3 @@ static ulong get_sp(void)
341341 asm("mov %0, sp" : "=r"(ret) : );
342342 return ret;
343343 }
344-
345-#endif /* CONFIG_SETUP_MEMORY_TAGS || CONFIG_CMDLINE_TAG || CONFIG_INITRD_TAG */