Merge tag 'dma-mapping-5.3-1' of git://git.infradead.org/users/hch/dma-mapping
[sfrench/cifs-2.6.git] / arch / x86 / mm / mem_encrypt.c
index c805f0a5c16e79ff178c2b734b7d9d24d44e4977..fece30ca8b0cb9fc58d6bb65f2c5a2bc5f4b2b03 100644 (file)
@@ -45,7 +45,7 @@ EXPORT_SYMBOL_GPL(sev_enable_key);
 bool sev_enabled __section(.data);
 
 /* Buffer used for early in-place encryption by BSP, no locking needed */
-static char sme_early_buffer[PAGE_SIZE] __aligned(PAGE_SIZE);
+static char sme_early_buffer[PAGE_SIZE] __initdata __aligned(PAGE_SIZE);
 
 /*
  * This routine does not change the underlying encryption setting of the