The TRANSPARENT_HUGEPAGE is not compatible with the RT kernel, so
we should disable it.

Signed-off-by: Kevin Hao <[email protected]>
Signed-off-by: Bruce Ashfield <[email protected]>
---
 bsp/marvell-cn96xx/marvell-cn96xx-preempt-rt.cfg | 14 ++++++++++++++
 bsp/marvell-cn96xx/marvell-cn96xx-preempt-rt.scc |  9 +++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx-preempt-rt.cfg
 create mode 100644 bsp/marvell-cn96xx/marvell-cn96xx-preempt-rt.scc

diff --git a/bsp/marvell-cn96xx/marvell-cn96xx-preempt-rt.cfg 
b/bsp/marvell-cn96xx/marvell-cn96xx-preempt-rt.cfg
new file mode 100644
index 000000000000..0b4edbb7e541
--- /dev/null
+++ b/bsp/marvell-cn96xx/marvell-cn96xx-preempt-rt.cfg
@@ -0,0 +1,14 @@
+..........................................................................
+.                                WARNING
+.
+. This file is a kernel configuration fragment, and not a full kernel
+. configuration file.  The final kernel configuration is made up of
+. an assembly of processed fragments, each of which is designed to
+. capture a specific part of the final configuration (e.g. platform
+. configuration, feature configuration, and board specific hardware
+. configuration).  For more information on kernel configuration, please
+. consult the product documentation.
+.
+..........................................................................
+
+# CONFIG_TRANSPARENT_HUGEPAGE is not set
diff --git a/bsp/marvell-cn96xx/marvell-cn96xx-preempt-rt.scc 
b/bsp/marvell-cn96xx/marvell-cn96xx-preempt-rt.scc
new file mode 100644
index 000000000000..f8c57a297122
--- /dev/null
+++ b/bsp/marvell-cn96xx/marvell-cn96xx-preempt-rt.scc
@@ -0,0 +1,9 @@
+define KMACHINE marvell-cn96xx
+define KTYPE preempt-rt
+define KARCH arm64
+
+include ktypes/preempt-rt
+
+include marvell-cn96xx.scc
+
+kconf hardware marvell-cn96xx-preempt-rt.cfg
-- 
2.25.1.377.g2d2118b814c1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8410): 
https://lists.yoctoproject.org/g/linux-yocto/message/8410
Mute This Topic: https://lists.yoctoproject.org/mt/71602464/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to