Skip to contentSkip to conversation

alpha: boot: fix typos in bootpz.c

PATCH New Ankit Thakur 1 participant 2 messages Oct 24 Alpha port

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 alpha: boot: fix typos in bootpz.c

Fix the misspelled macro name V_INTRD_END and the word INTRD in a comment.

---
 arch/alpha/boot/bootpz.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/alpha/boot/bootpz.c +2 -2
index c6079308e..d53801108 100644
@@ -202,7 +202,7 @@ extern char _end;
 	ZERO_PGE	KSEG address of page full of zeroes, but 
 			upon entry to kernel, it can be expected
 			to hold the parameter list and possible
-			INTRD information.
+			INITRD information.
 
    These are used in the local defines below.
 */
@@ -228,7 +228,7 @@ extern char _end;
 */
 #define V_DATA_START		KERNEL_ORIGIN
 #define V_INITRD_START		(KERNEL_ORIGIN + KERNEL_Z_SIZE)
-#define V_INTRD_END		(V_INITRD_START + REAL_INITRD_SIZE)
+#define V_INITRD_END		(V_INITRD_START + REAL_INITRD_SIZE)
 #define V_DATA_END	 	V_BOOT_IMAGE_END
 
 /* KSEG addresses for the uncompressed kernel.
Signature · 1 line
2.55.0.windows.3
#1 lore raw

PATCH 2/2 alpha: boot: remove duplicate LDFLAGS_bootloader assignment

LDFLAGS_bootloader is assigned the same value twice in a row. Drop the redundant line.

---
 arch/alpha/boot/Makefile | 1 -
 1 file changed, 1 deletion(-)
arch/alpha/boot/Makefile +0 -1
index b7e530a65..3c4477e21 100644
@@ -105,7 +105,6 @@ $(obj)/tools/bootph: $(obj)/bootpheader $(OBJSTRIP) FORCE
 $(obj)/tools/bootpzh: $(obj)/bootpzheader $(OBJSTRIP) FORCE
 	$(call if_changed,objstrip)
 
-LDFLAGS_bootloader   := -static -T # -N -relax
 LDFLAGS_bootloader   := -static -T # -N -relax
 LDFLAGS_bootpheader  := -static -T # -N -relax
 LDFLAGS_bootpzheader := -static -T # -N -relax
Signature · 1 line
2.55.0.windows.3