diff options
Diffstat (limited to 'src/lib/cbmem_common.c')
-rw-r--r-- | src/lib/cbmem_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cbmem_common.c b/src/lib/cbmem_common.c index 496bafa986..d3019c5644 100644 --- a/src/lib/cbmem_common.c +++ b/src/lib/cbmem_common.c @@ -25,7 +25,7 @@ #include <arch/acpi.h> #endif -void cbmem_run_init_hooks(void) +void cbmem_run_init_hooks(int is_recovery) { cbmem_init_hook_t *init_hook_ptr = (cbmem_init_hook_t*) &_cbmem_init_hooks; cbmem_init_hook_t *einit_hook_ptr = (cbmem_init_hook_t*) &_ecbmem_init_hooks; @@ -34,7 +34,7 @@ void cbmem_run_init_hooks(void) return; while (init_hook_ptr != einit_hook_ptr) { - (*init_hook_ptr)(); + (*init_hook_ptr)(is_recovery); init_hook_ptr++; } } |