mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
MIPS/head: Add comments after #endif and #else
It makes the code more readable, especially in the nested ifdefs. Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/20802/ Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org
This commit is contained in:
parent
2fe8ea39c9
commit
62a83c55ea
1 changed files with 7 additions and 7 deletions
|
@ -77,7 +77,7 @@ EXPORT(_stext)
|
||||||
*/
|
*/
|
||||||
FEXPORT(__kernel_entry)
|
FEXPORT(__kernel_entry)
|
||||||
j kernel_entry
|
j kernel_entry
|
||||||
#endif
|
#endif /* CONFIG_BOOT_RAW */
|
||||||
|
|
||||||
__REF
|
__REF
|
||||||
|
|
||||||
|
@ -99,19 +99,19 @@ NESTED(kernel_entry, 16, sp) # kernel entry point
|
||||||
|
|
||||||
#ifdef CONFIG_CPU_BIG_ENDIAN
|
#ifdef CONFIG_CPU_BIG_ENDIAN
|
||||||
li t1, 0xd00dfeed
|
li t1, 0xd00dfeed
|
||||||
#else
|
#else /* !CONFIG_CPU_BIG_ENDIAN */
|
||||||
li t1, 0xedfe0dd0
|
li t1, 0xedfe0dd0
|
||||||
#endif
|
#endif /* !CONFIG_CPU_BIG_ENDIAN */
|
||||||
lw t0, (t2)
|
lw t0, (t2)
|
||||||
beq t0, t1, dtb_found
|
beq t0, t1, dtb_found
|
||||||
#endif
|
#endif /* CONFIG_MIPS_RAW_APPENDED_DTB */
|
||||||
li t1, -2
|
li t1, -2
|
||||||
move t2, a1
|
move t2, a1
|
||||||
beq a0, t1, dtb_found
|
beq a0, t1, dtb_found
|
||||||
|
|
||||||
li t2, 0
|
li t2, 0
|
||||||
dtb_found:
|
dtb_found:
|
||||||
#endif
|
#endif /* CONFIG_USE_OF */
|
||||||
PTR_LA t0, __bss_start # clear .bss
|
PTR_LA t0, __bss_start # clear .bss
|
||||||
LONG_S zero, (t0)
|
LONG_S zero, (t0)
|
||||||
PTR_LA t1, __bss_stop - LONGSIZE
|
PTR_LA t1, __bss_stop - LONGSIZE
|
||||||
|
@ -156,9 +156,9 @@ dtb_found:
|
||||||
* newly sync'd icache.
|
* newly sync'd icache.
|
||||||
*/
|
*/
|
||||||
jr.hb v0
|
jr.hb v0
|
||||||
#else
|
#else /* !CONFIG_RELOCATABLE */
|
||||||
j start_kernel
|
j start_kernel
|
||||||
#endif
|
#endif /* !CONFIG_RELOCATABLE */
|
||||||
END(kernel_entry)
|
END(kernel_entry)
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
|
|
Loading…
Add table
Reference in a new issue