You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* bcu.c, Bus Control Unit routines for the NEC VR4100 series.
|
||||
*
|
||||
* Copyright (C) 2002 MontaVista Software Inc.
|
||||
* Copyright (C) 2002 MontaVista Software Inc.
|
||||
* Author: Yoichi Yuasa <source@mvista.com>
|
||||
* Copyright (C) 2003-2005 Yoichi Yuasa <yuasa@linux-mips.org>
|
||||
*
|
||||
@@ -176,7 +176,7 @@ static inline unsigned long calculate_vtclock(uint16_t clkspeed, unsigned long p
|
||||
}
|
||||
|
||||
static inline unsigned long calculate_tclock(uint16_t clkspeed, unsigned long pclock,
|
||||
unsigned long vtclock)
|
||||
unsigned long vtclock)
|
||||
{
|
||||
unsigned long tclock = 0;
|
||||
|
||||
|
||||
@@ -217,24 +217,24 @@ static int __init vr41xx_cmu_init(void)
|
||||
unsigned long start, size;
|
||||
|
||||
switch (current_cpu_type()) {
|
||||
case CPU_VR4111:
|
||||
case CPU_VR4121:
|
||||
case CPU_VR4111:
|
||||
case CPU_VR4121:
|
||||
start = CMU_TYPE1_BASE;
|
||||
size = CMU_TYPE1_SIZE;
|
||||
break;
|
||||
case CPU_VR4122:
|
||||
case CPU_VR4131:
|
||||
break;
|
||||
case CPU_VR4122:
|
||||
case CPU_VR4131:
|
||||
start = CMU_TYPE2_BASE;
|
||||
size = CMU_TYPE2_SIZE;
|
||||
break;
|
||||
case CPU_VR4133:
|
||||
case CPU_VR4133:
|
||||
start = CMU_TYPE3_BASE;
|
||||
size = CMU_TYPE3_SIZE;
|
||||
break;
|
||||
break;
|
||||
default:
|
||||
panic("Unexpected CPU of NEC VR4100 series");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (request_mem_region(start, size, "CMU") == NULL)
|
||||
return -EBUSY;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* NEC VR4100 series GIU platform device.
|
||||
*
|
||||
* Copyright (C) 2007 Yoichi Yuasa <yuasa@linux-mips.org>
|
||||
* Copyright (C) 2007 Yoichi Yuasa <yuasa@linux-mips.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -49,11 +49,11 @@ static unsigned char sysint1_assign[16] = {
|
||||
static unsigned char sysint2_assign[16] = {
|
||||
2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
|
||||
|
||||
#define ICU1_TYPE1_BASE 0x0b000080UL
|
||||
#define ICU2_TYPE1_BASE 0x0b000200UL
|
||||
#define ICU1_TYPE1_BASE 0x0b000080UL
|
||||
#define ICU2_TYPE1_BASE 0x0b000200UL
|
||||
|
||||
#define ICU1_TYPE2_BASE 0x0f000080UL
|
||||
#define ICU2_TYPE2_BASE 0x0f0000a0UL
|
||||
#define ICU1_TYPE2_BASE 0x0f000080UL
|
||||
#define ICU2_TYPE2_BASE 0x0f0000a0UL
|
||||
|
||||
#define ICU1_SIZE 0x20
|
||||
#define ICU2_SIZE 0x1c
|
||||
|
||||
@@ -74,7 +74,7 @@ static inline void software_reset(void)
|
||||
change_c0_config(CONF_CM_CMASK, CONF_CM_UNCACHED);
|
||||
flush_cache_all();
|
||||
write_c0_wired(0);
|
||||
__asm__("jr %0"::"r"(0xbfc00000));
|
||||
__asm__("jr %0"::"r"(0xbfc00000));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* NEC VR4100 series RTC platform device.
|
||||
*
|
||||
* Copyright (C) 2007 Yoichi Yuasa <yuasa@linux-mips.org>
|
||||
* Copyright (C) 2007 Yoichi Yuasa <yuasa@linux-mips.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* type.c, System type for NEC VR4100 series.
|
||||
*
|
||||
* Copyright (C) 2005 Yoichi Yuasa <yuasa@linux-mips.org>
|
||||
* Copyright (C) 2005 Yoichi Yuasa <yuasa@linux-mips.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
Reference in New Issue
Block a user