ShabbyX / RTAI

(NO LONGER MAINTAINED) Clone of RTAI from https://www.rtai.org
28 stars 17 forks source link

8254 and APIC x86 specific or not? #9

Closed NTULINUX closed 11 years ago

NTULINUX commented 11 years ago

Hi, I'm working on updating all the defconfig's for the other architectures, one thing I'm not sure about is the 8254 and APIC config options for non-x86.

Specifically CONFIG_RTAI_SCHED_8254_LATENCY and CONFIG_RTAI_SCHED_APIC_LATENCY. Can these be removed from ppc, m68k and arm? git grep shows APIC and 8254 references with those architectures, but I'm not sure if they actually do anything. If they don't this should get cleaned up.

Alec

ShabbyX commented 11 years ago

It seems like they are used to eventually define a constant named TIMER_LATENCY. This constant is used in base/sched/sched.c which is arch-independent.

I think they should stay in all architectures, otherwise sched.c won't compile.