summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/i386/pit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/i386/i386/pit.c b/i386/i386/pit.c
index da683308..778a04f5 100644
--- a/i386/i386/pit.c
+++ b/i386/i386/pit.c
@@ -70,6 +70,10 @@ clkstart(void)
unsigned char byte;
unsigned long s;
+ if (cpu_number() != 0)
+ /* Only one PIT initialization is needed */
+ return;
+
intpri[0] = SPLHI;
form_pic_mask();