[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-4cd8483247271d007af3a1167c0d5500b084135a@git.kernel.org>
Date: Thu, 9 Jun 2011 11:20:51 GMT
From: tip-bot for Ralf Baechle <ralf@...ux-mips.org>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
linux@....linux.org.uk, ralf@...ux-mips.org, tglx@...utronix.de
Subject: [tip:timers/cleanup] i8253: Move remaining content and delete asm/i8253.h
Commit-ID: 4cd8483247271d007af3a1167c0d5500b084135a
Gitweb: http://git.kernel.org/tip/4cd8483247271d007af3a1167c0d5500b084135a
Author: Ralf Baechle <ralf@...ux-mips.org>
AuthorDate: Wed, 1 Jun 2011 19:05:08 +0100
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Thu, 9 Jun 2011 12:03:52 +0200
i8253: Move remaining content and delete asm/i8253.h
Move setup_pit_timer() declaration to the common header file and
remove the arch specific ones.
[ tglx: Move it to linux/i8253.h instead of asm/mips and asm/x86 ]
Signed-off-by: Ralf Baechle <ralf@...ux-mips.org>
Cc: linux-arm-kernel@...ts.infradead.org
Cc: Russell King <linux@....linux.org.uk>
Cc: linux-mips@...ux-mips.org
Cc: Sergei Shtylyov <sshtylyov@...sta.com
Link: http://lkml.kernel.org/r/20110601180610.913463093@duck.linux-mips.net
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
arch/arm/include/asm/i8253.h | 4 ----
arch/mips/include/asm/i8253.h | 10 ----------
arch/x86/include/asm/i8253.h | 6 ------
include/linux/i8253.h | 3 ++-
4 files changed, 2 insertions(+), 21 deletions(-)
diff --git a/arch/arm/include/asm/i8253.h b/arch/arm/include/asm/i8253.h
deleted file mode 100644
index fee59eb..0000000
--- a/arch/arm/include/asm/i8253.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __ASMARM_I8253_H
-#define __ASMARM_I8253_H
-
-#endif
diff --git a/arch/mips/include/asm/i8253.h b/arch/mips/include/asm/i8253.h
deleted file mode 100644
index 26f4eb1..0000000
--- a/arch/mips/include/asm/i8253.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * Machine specific IO port address definition for generic.
- * Written by Osamu Tomita <tomita@...et.co.jp>
- */
-#ifndef __ASM_I8253_H
-#define __ASM_I8253_H
-
-extern void setup_pit_timer(void);
-
-#endif /* __ASM_I8253_H */
diff --git a/arch/x86/include/asm/i8253.h b/arch/x86/include/asm/i8253.h
deleted file mode 100644
index 0049dc9..0000000
--- a/arch/x86/include/asm/i8253.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _ASM_X86_I8253_H
-#define _ASM_X86_I8253_H
-
-extern void setup_pit_timer(void);
-
-#endif /* _ASM_X86_I8253_H */
diff --git a/include/linux/i8253.h b/include/linux/i8253.h
index 1ec6323..76039c8 100644
--- a/include/linux/i8253.h
+++ b/include/linux/i8253.h
@@ -12,7 +12,6 @@
#include <linux/param.h>
#include <linux/spinlock.h>
#include <linux/timex.h>
-#include <asm/i8253.h>
/* i8253A PIT registers */
#define PIT_MODE 0x43
@@ -26,4 +25,6 @@
extern raw_spinlock_t i8253_lock;
+extern void setup_pit_timer(void);
+
#endif /* __LINUX_I8253_H */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists