diff options
Diffstat (limited to 'src/security/memory/memory_clear.c')
-rw-r--r-- | src/security/memory/memory_clear.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/security/memory/memory_clear.c b/src/security/memory/memory_clear.c index 03c6f8bd75..996b1d3802 100644 --- a/src/security/memory/memory_clear.c +++ b/src/security/memory/memory_clear.c @@ -6,8 +6,8 @@ #define memset_pae(a, b, c, d, e) 0 #define MEMSET_PAE_PGTL_ALIGN 0 #define MEMSET_PAE_PGTL_SIZE 0 -#define MEMSET_PAE_PGTL_SIZE 0 #define MEMSET_PAE_VMEM_ALIGN 0 +#define MEMSET_PAE_VMEM_SIZE 0 #endif #include <memrange.h> @@ -92,7 +92,7 @@ static void clear_memory(void *unused) BM_MEM_TABLE); vmem_addr = get_free_memory_range(&mem, MEMSET_PAE_VMEM_ALIGN, - MEMSET_PAE_PGTL_SIZE); + MEMSET_PAE_VMEM_SIZE); printk(BIOS_SPEW, "%s: pgtbl at %p, virt memory at %p\n", __func__, (void *)pgtbl, (void *)vmem_addr); |