mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 13:00:29 +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
Notes:
sideshowbarker
2024-07-17 05:01:20 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/7f4680a377 Pull-request: https://github.com/SerenityOS/serenity/pull/16843
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…
Reference in a new issue