Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73038
b: refs/heads/master
c: 74521c2
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle authored and Linus Torvalds committed Nov 3, 2007
1 parent 08ded1d commit 59f17fa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a89b7717a8c9be41a4856134b60a4d7a66df13f6
refs/heads/master: 74521c28e550c4ec265cda14114bd9b908e9de34
2 changes: 1 addition & 1 deletion trunk/arch/mips/kernel/i8253.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <asm/io.h>
#include <asm/time.h>

static DEFINE_SPINLOCK(i8253_lock);
DEFINE_SPINLOCK(i8253_lock);

/*
* Initialize the PIT timer.
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/input/misc/pcspkr.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ MODULE_DESCRIPTION("PC Speaker beeper driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:pcspkr");

#ifdef CONFIG_X86
#if defined(CONFIG_MIPS) || defined(CONFIG_X86)
/* Use the global PIT lock ! */
#include <asm/i8253.h>
#else
Expand Down
4 changes: 4 additions & 0 deletions trunk/include/asm-mips/i8253.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
#ifndef __ASM_I8253_H
#define __ASM_I8253_H

#include <linux/spinlock.h>

/* i8253A PIT registers */
#define PIT_MODE 0x43
#define PIT_CH0 0x40
#define PIT_CH2 0x42

extern spinlock_t i8253_lock;

extern void setup_pit_timer(void);

#endif /* __ASM_I8253_H */

0 comments on commit 59f17fa

Please sign in to comment.