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

#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");
}