summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@nokia.com>2009-12-03 15:56:05 +0200
committerAurelien Jarno <aurelien@aurel32.net>2009-12-18 23:23:56 +0100
commitc6703b4761c4df633997a37d52641b20a0b6cf45 (patch)
treed1214185dd96cdc38b1f98804dae68af731f177f /exec.c
parent9a0c6a3373ccc4dc7a198da4c30f6d259a304e82 (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>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 44c34e6422..21a02f6c45 100644
--- a/exec.c
+++ b/exec.c
@@ -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;
}