diff options
author | Riku Voipio <riku.voipio@nokia.com> | 2009-12-03 15:56:05 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-18 23:23:56 +0100 |
commit | c6703b4761c4df633997a37d52641b20a0b6cf45 (patch) | |
tree | d1214185dd96cdc38b1f98804dae68af731f177f | |
parent | 9a0c6a3373ccc4dc7a198da4c30f6d259a304e82 (diff) |
Give a error when running out of iomem areas.
The limit of iomem areas is quite low. Without the
debug print, it is quite hard to figure out why more
devices are not getting registered.
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2919,7 +2919,7 @@ static int get_free_io_mem_idx(void) io_mem_used[i] = 1; return i; } - + fprintf(stderr, "RAN out out io_mem_idx, max %d !\n", IO_MEM_NB_ENTRIES); return -1; } |