From d06a5f7ebfdc6c5d27dc0e6acf441c0916eee176 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sat, 6 Aug 2005 01:56:59 +0200 Subject: Add support for Altera NIOS DK1C20 board Patch by Shlomo Kut, 13 Dec 2004 --- fs/fat/fat.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fs/fat') diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 7f991b2..1a40a70 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -722,6 +722,9 @@ long do_fat_read (const char *filename, void *buffer, unsigned long maxsize, int dols) { +#if CONFIG_NIOS /* NIOS CPU cannot access big automatic arrays */ + static +#endif char fnamecopy[2048]; boot_sector bs; volume_info volinfo; -- cgit v1.1