Commit ae67d58d authored by Mathieu Malaterre's avatar Mathieu Malaterre Committed by Linus Torvalds
Browse files

init/main.c: include <linux/mem_encrypt.h>

In commit c7753208 ("x86, swiotlb: Add memory encryption support") a
call to function `mem_encrypt_init' was added.  Include prototype
defined in header <linux/mem_encrypt.h> to prevent a warning reported
during compilation with W=1:

  init/main.c:494:20: warning: no previous prototype for `mem_encrypt_init' [-Wmissing-prototypes]


Signed-off-by: default avatarMathieu Malaterre <>
Reviewed-by: default avatarAndrew Morton <>
Acked-by: default avatarSteven Rostedt (VMware) <>
Cc: Tom Lendacky <>
Cc: Ingo Molnar <>
Cc: Thomas Gleixner <>
Cc: Kees Cook <>
Cc: Laura Abbott <>
Cc: Dominik Brodowski <>
Cc: Gargi Sharma <>
Cc: Josh Poimboeuf <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 23d6aef7
......@@ -91,6 +91,7 @@
#include <linux/cache.h>
#include <linux/rodata_test.h>
#include <linux/jump_label.h>
#include <linux/mem_encrypt.h>
#include <asm/io.h>
#include <asm/bugs.h>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment