summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2024-11-22 15:47:48 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2024-11-26 18:06:03 +0800
commitaf4b67da652214f06fde48cca7bb438fa829741f (patch)
tree54082a58c00351e90f56c7cb33ac74e814dc8e65 /rust/helpers/build_bug.c
parent73c359d1d356cf10236ccd358bd55edab33e9424 (diff)
LoongArch: Reduce min_delta for the arch clockevent device
Now the min_delta is 0x600 (1536) for LoongArch's constant clockevent device. For a 100MHz hardware timer this means ~15us. This is a little big, especially for PREEMPT_RT enabled kernels. So reduce it to 100 for PREEMPT_RT kernel, and 1000 for others (we don't want too small values to affect performance). Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions