summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/book3s32/kuep.c
blob: 78fc48eee510e5f099222f5ce0dc6fe18997b8d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: GPL-2.0-or-later

#include <asm/code-patching.h>
#include <asm/kup.h>
#include <asm/smp.h>

void setup_kuep(bool disabled)
{
	if (smp_processor_id() != boot_cpuid)
		return;

	pr_info("Activating Kernel Userspace Execution Prevention\n");
}