mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 ppc patch] fix compilation error in include/asm-m68k/setup.h
@ 2005-04-11 16:39 Benoit Boissinot
  0 siblings, 0 replies; only message in thread
From: Benoit Boissinot @ 2005-04-11 16:39 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, paulus

make defconfig give the following error on ppc (gcc-4):

include/asm-m68k/setup.h:365: error: array type has incomplete element
type

The following patch solves it.

Signed-Off-By: Benoit Boissinot <benoit.boissinot@ens-lyon.org>

--- ./include/asm-m68k/setup.h.orig	2004-12-24 22:35:00.000000000 +0100
+++ ./include/asm-m68k/setup.h	2005-04-11 14:19:25.000000000 +0200
@@ -360,14 +360,14 @@ extern int m68k_is040or060;
 #define COMMAND_LINE_SIZE	CL_SIZE
 
 #ifndef __ASSEMBLY__
-extern int m68k_num_memory;		/* # of memory blocks found (and used) */
-extern int m68k_realnum_memory;		/* real # of memory blocks found */
-extern struct mem_info m68k_memory[NUM_MEMINFO];/* memory description */
-
 struct mem_info {
 	unsigned long addr;		/* physical address of memory chunk */
 	unsigned long size;		/* length of memory chunk (in bytes) */
 };
+
+extern int m68k_num_memory;		/* # of memory blocks found (and used) */
+extern int m68k_realnum_memory;		/* real # of memory blocks found */
+extern struct mem_info m68k_memory[NUM_MEMINFO];/* memory description */
 #endif
 
 #endif /* __KERNEL__ */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-11 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-11 16:39 [2.6 ppc patch] fix compilation error in include/asm-m68k/setup.h Benoit Boissinot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®