i8253.c (334955ef964bee9d3b1e20966847eee28cfd05f6) i8253.c (15f304b664c0d0a3e76ed3a9ce3615a86908babe)
1/*
2 * i8253.c 8253/PIT functions
3 *
4 */
5#include <linux/clockchips.h>
6#include <linux/i8253.h>
7#include <linux/init.h>
8#include <linux/interrupt.h>
9#include <linux/jiffies.h>
10#include <linux/module.h>
11#include <linux/smp.h>
12#include <linux/spinlock.h>
13#include <linux/irq.h>
14
15#include <asm/delay.h>
16#include <asm/io.h>
17#include <asm/time.h>
18
1/*
2 * i8253.c 8253/PIT functions
3 *
4 */
5#include <linux/clockchips.h>
6#include <linux/i8253.h>
7#include <linux/init.h>
8#include <linux/interrupt.h>
9#include <linux/jiffies.h>
10#include <linux/module.h>
11#include <linux/smp.h>
12#include <linux/spinlock.h>
13#include <linux/irq.h>
14
15#include <asm/delay.h>
16#include <asm/io.h>
17#include <asm/time.h>
18
19DEFINE_RAW_SPINLOCK(i8253_lock);
20EXPORT_SYMBOL(i8253_lock);
21
22/*
23 * Initialize the PIT timer.
24 *
25 * This is also called after resume to bring the PIT into operation again.
26 */
27static void init_pit_timer(enum clock_event_mode mode,
28 struct clock_event_device *evt)
29{

--- 106 unchanged lines hidden ---
19/*
20 * Initialize the PIT timer.
21 *
22 * This is also called after resume to bring the PIT into operation again.
23 */
24static void init_pit_timer(enum clock_event_mode mode,
25 struct clock_event_device *evt)
26{

--- 106 unchanged lines hidden ---