From 861f4f0aa3839520b5b6f687939c38e739740ca1 Mon Sep 17 00:00:00 2001 From: Stephen Sherratt <Stephen.Sherratt@nicta.com.au> Date: Mon, 2 May 2016 11:33:45 +1000 Subject: [PATCH] Added KERNEL_MASTER config flag This makes it possible to statically check if the kernel is the master kernel from user level. This is useful when when writing user level code that's expected to work with different kernel versions. --- Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Kconfig b/Kconfig index 61310b08a..45be50d8f 100644 --- a/Kconfig +++ b/Kconfig @@ -20,6 +20,10 @@ config ARCH_ARM_V7A bool default n +config KERNEL_MASTER + bool + default y + # Native word size of the current platform. This is primarily intended for use # in code generators that need to know, at generation-time, the word size of # the target platform. -- GitLab