Files
lkl_linux/include/linux
Linus Torvalds 1b2c92a1cb x86/mem_encrypt: Remove stale mem_encrypt_init() declaration
The memory encryption initialization logic was moved from init/main.c
into arch_cpu_finalize_init() in commit 439e17576e ("init, x86: Move
mem_encrypt_init() into arch_cpu_finalize_init()"), but a stale
declaration for the init function was left in <linux/init.h>.

And didn't cause any problems if you had X86_MEM_ENCRYPT enabled, which
apparently everybody involved did have.  See also commit 0a9567ac5e
("x86/mem_encrypt: Unbreak the AMD_MEM_ENCRYPT=n build") in this whole
sad saga of conflicting declarations for different situations.

Reported-by: Matthew Wilcox <willy@infradead.org>
Fixes: 439e17576e init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2023-06-28 12:47:30 -07:00
..
2023-04-21 14:37:03 +01:00
2023-06-16 10:08:09 -06:00
2023-06-16 10:08:09 -06:00
2023-04-16 08:51:24 -07:00
2023-05-25 09:26:19 +02:00
2023-04-17 18:01:23 +02:00
2023-04-20 18:20:04 +08:00
2023-06-19 16:19:05 -07:00
2023-05-24 18:08:49 +02:00
2023-06-23 16:59:30 -07:00
2023-06-05 12:26:37 +02:00
2023-06-05 09:36:39 +02:00
2023-06-19 16:19:25 -07:00
2023-05-17 21:29:09 -07:00
2023-06-23 16:59:28 -07:00
2023-06-05 09:36:39 +02:00
2023-04-05 20:03:01 -07:00
2023-04-21 03:02:34 -04:00