mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:28:13 +00:00
Kernel/aarch64: Remove counterproductive volatile
Should not be needed, and triggers -Wvolatile in gcc. See discussion on #16790.
This commit is contained in:
parent
3b682e885e
commit
7f4680a377
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ inline ExceptionLevel get_current_exception_level()
|
|||
inline void wait_cycles(int n)
|
||||
{
|
||||
// FIXME: Make timer-based.
|
||||
for (int volatile i = 0; i < n; i = i + 1) {
|
||||
for (int i = 0; i < n; i = i + 1) {
|
||||
Processor::pause();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue