misc: adjust formatting

This commit is contained in:
2026-03-12 20:34:31 +00:00
parent 3f21e888d6
commit 7d4cede788
5 changed files with 51 additions and 20 deletions

View File

@@ -27,7 +27,7 @@ struct cpu_data {
/* maximum number of processor cores that the kernel can support.
TODO move to build config option */
#define CPU_MAX 128
#define CPU_MAX 128
#define this_cpu() (ml_cpu_block_get_id(ml_this_cpu()))
@@ -50,7 +50,7 @@ static inline cycles_t cycles_diff(cycles_t then, cycles_t now)
return now >= then ? now - then : (CYCLES_MAX - then) + now;
}
#define irq_enable() ml_int_enable()
#define irq_enable() ml_int_enable()
#define irq_disable() ml_int_disable()
extern void preempt_disable(void);