Skip to content

Commit

Permalink
timer-arm: don't handle invalid configuration scheduler_one_shot
Browse files Browse the repository at this point in the history
The configuration CONFIG_SCHEDULER_ONE_SHOT is (currently) not valid for
ARM. Remove this case to make it easier to unify this function in on-top
changes.

Change-Id: I9cddc95ff06ed90ddf7f8c28fbb25c419f65fbbd
  • Loading branch information
Frank Mehnert authored and jermar committed Jul 3, 2024
1 parent a5ab03f commit 874171e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/kern/arm/timer-arm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ IMPLEMENT_DEFAULT inline NEEDS["config.h", "context_base.h", "kip.h"]
Unsigned64
Timer::system_clock()
{
if (Config::Scheduler_one_shot)
return 0;
if (current_cpu() == Cpu_number::boot_cpu()
&& Config::Kip_clock_uses_timer)
{
Expand Down

0 comments on commit 874171e

Please sign in to comment.