mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[PATCH] ppc32: fix compilation error in include/asm-m68k/setup.h
make defconfig give the following error on ppc (gcc-4): include/asm-m68k/setup.h:365: error: array type has incomplete element type Signed-Off-By: Benoit Boissinot <benoit.boissinot@ens-lyon.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
b625a2b852
commit
9ce3a719bc
1 changed files with 4 additions and 4 deletions
|
@ -360,14 +360,14 @@ extern int m68k_is040or060;
|
||||||
#define COMMAND_LINE_SIZE CL_SIZE
|
#define COMMAND_LINE_SIZE CL_SIZE
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#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 {
|
struct mem_info {
|
||||||
unsigned long addr; /* physical address of memory chunk */
|
unsigned long addr; /* physical address of memory chunk */
|
||||||
unsigned long size; /* length of memory chunk (in bytes) */
|
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
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
|
Loading…
Reference in a new issue