summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/ProcessScheduler.cxx
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-12 18:09:07 +0200
committerAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-12 18:09:07 +0200
commit4b58295fb04c2430817301352fadce33178f94d4 (patch)
treefb16edeb9d81ee475200bbbf9a5125822ea2a589 /Kernel/Sources/ProcessScheduler.cxx
parent6a3b080067ff47f84c400987982cfa44927fe7e0 (diff)
MHR-30: initial commit.
Signed-off-by: Amlal EL Mahrouss <amlal@softwarelabs.com>
Diffstat (limited to 'Kernel/Sources/ProcessScheduler.cxx')
-rw-r--r--Kernel/Sources/ProcessScheduler.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Kernel/Sources/ProcessScheduler.cxx b/Kernel/Sources/ProcessScheduler.cxx
index 1a49af22..08a7971e 100644
--- a/Kernel/Sources/ProcessScheduler.cxx
+++ b/Kernel/Sources/ProcessScheduler.cxx
@@ -215,9 +215,6 @@ namespace NewOS
if (!mTeam.AsArray().Count() > kSchedProcessLimitPerTeam)
return -kErrorOutOfTeamSlot;
- if (process.Leak().Ring != (Int32)ProcessSelector::kRingKernel)
- return -1;
-
kcout << "ProcessScheduler::Add(Ref<ProcessHeader>& process)\r";
/// Create heap according to type of process.