diff options
Diffstat (limited to 'src/lib/imd.c')
-rw-r--r-- | src/lib/imd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/imd.c b/src/lib/imd.c index 02fc2b3363..612e3f10d0 100644 --- a/src/lib/imd.c +++ b/src/lib/imd.c @@ -411,6 +411,9 @@ void imd_handle_init_partial_recovery(struct imd *imd) struct imd_root_pointer *rp; struct imdr *imdr; + if (imd->lg.limit == 0) + return; + imd_handle_init(imd, (void *)imd->lg.limit); /* Initialize root pointer for the large regions. */ |