git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
mips
/
tx4927
/
common
/
tx4927_setup.c
diff --git
a/arch/mips/tx4927/common/tx4927_setup.c
b/arch/mips/tx4927/common/tx4927_setup.c
index
77c3b66
..
941c441
100644
(file)
--- a/
arch/mips/tx4927/common/tx4927_setup.c
+++ b/
arch/mips/tx4927/common/tx4927_setup.c
@@
-24,7
+24,6
@@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <linux/config.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/kernel_stat.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/kernel_stat.h>
@@
-51,24
+50,12
@@
#undef DEBUG
void __init tx4927_time_init(void);
#undef DEBUG
void __init tx4927_time_init(void);
-void __init tx4927_timer_setup(struct irqaction *irq);
void dump_cp0(char *key);
void dump_cp0(char *key);
-void (*__wbflush) (void);
-
-static void tx4927_write_buffer_flush(void)
-{
- __asm__ __volatile__
- ("sync\n\t" "nop\n\t" "loop: bc0f loop\n\t" "nop\n\t");
-}
-
-
-void __init plat_setup(void)
+void __init plat_mem_setup(void)
{
board_time_init = tx4927_time_init;
{
board_time_init = tx4927_time_init;
- board_timer_setup = tx4927_timer_setup;
- __wbflush = tx4927_write_buffer_flush;
#ifdef CONFIG_TOSHIBA_RBTX4927
{
#ifdef CONFIG_TOSHIBA_RBTX4927
{
@@
-92,7
+79,7
@@
void __init tx4927_time_init(void)
}
}
-void __init
tx4927
_timer_setup(struct irqaction *irq)
+void __init
plat
_timer_setup(struct irqaction *irq)
{
u32 count;
u32 c1;
{
u32 count;
u32 c1;
@@
-125,8
+112,6
@@
void print_cp0(char *key, int num, char *name, u32 val)
return;
}
return;
}
-indent: Standard input:25: Error:Unexpected end of file
-
void
dump_cp0(char *key)
{
void
dump_cp0(char *key)
{