Skip to contentSkip to conversation

sparc32: fix build breakage

PATCH Superseded Sam Ravnborg 1 participant 2 messages May 3, 2014 – May 16, 2014 SPARC + UltraSPARC (sparc/sparc64)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/34 sparc32: fix build breakage

Add forward declaration to kernel.h to fix build breakage in some configurations

---
 arch/sparc/kernel/kernel.h | 1 +
 1 file changed, 1 insertion(+)
arch/sparc/kernel/kernel.h +1 -0
index de9ac1a..8bc2c81 100644
@@ -27,6 +27,7 @@ static inline unsigned long kimage_addr_to_ra(const char *p)
 
 #ifdef CONFIG_SPARC32
 /* setup_32.c */
+struct linux_romvec;
 void sparc32_start_kernel(struct linux_romvec *rp);
 
 /* cpu.c */
Signature · 1 line
1.9.0
#1 lore raw

PATCH 1/34 sparc32: fix build breakage

Add forward declaration to kernel.h to fix build breakage in some configurations

---
 arch/sparc/kernel/kernel.h | 1 +
 1 file changed, 1 insertion(+)
arch/sparc/kernel/kernel.h +1 -0
index de9ac1a..8bc2c81 100644
@@ -27,6 +27,7 @@ static inline unsigned long kimage_addr_to_ra(const char *p)
 
 #ifdef CONFIG_SPARC32
 /* setup_32.c */
+struct linux_romvec;
 void sparc32_start_kernel(struct linux_romvec *rp);
 
 /* cpu.c */
Signature · 1 line
1.9.0