i8253.c (a61944c251c3e68c4bbf6eb96ff61c7b286351c5) | i8253.c (334955ef964bee9d3b1e20966847eee28cfd05f6) |
---|---|
1/* 2 * i8253 PIT clocksource 3 */ 4#include <linux/clocksource.h> 5#include <linux/init.h> 6#include <linux/io.h> 7#include <linux/spinlock.h> 8#include <linux/timex.h> 9 | 1/* 2 * i8253 PIT clocksource 3 */ 4#include <linux/clocksource.h> 5#include <linux/init.h> 6#include <linux/io.h> 7#include <linux/spinlock.h> 8#include <linux/timex.h> 9 |
10#include <asm/i8253.h> | 10#include <linux/i8253.h> |
11 12/* 13 * Since the PIT overflows every tick, its not very useful 14 * to just read by itself. So use jiffies to emulate a free 15 * running counter: 16 */ 17static cycle_t i8253_read(struct clocksource *cs) 18{ --- 70 unchanged lines hidden --- | 11 12/* 13 * Since the PIT overflows every tick, its not very useful 14 * to just read by itself. So use jiffies to emulate a free 15 * running counter: 16 */ 17static cycle_t i8253_read(struct clocksource *cs) 18{ --- 70 unchanged lines hidden --- |