diff options
author | Simon Horman <horms@verge.net.au> | 2010-02-02 14:42:02 +1100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-02-02 14:42:02 +1100 |
commit | 48f3ad610b7098659064801f8dc9688e8795a42d (patch) | |
tree | 2c97677193078f874b008117f02f7ef8233a8810 | |
parent | e563dfd8f3a8ef9550722fc93ff1fc204dcb04c8 (diff) |
ppc: memory_range global is only used in conjunction with WITH_GAMECUBE
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/arch/ppc/kexec-ppc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kexec/arch/ppc/kexec-ppc.c b/kexec/arch/ppc/kexec-ppc.c index 511b027..3a17f5f 100644 --- a/kexec/arch/ppc/kexec-ppc.c +++ b/kexec/arch/ppc/kexec-ppc.c @@ -19,8 +19,10 @@ #include "config.h" +#ifdef WITH_GAMECUBE #define MAX_MEMORY_RANGES 64 static struct memory_range memory_range[MAX_MEMORY_RANGES]; +#endif /* Return a sorted list of memory ranges. */ int get_memory_ranges(struct memory_range **UNUSED(range), int *UNUSED(ranges), |