Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
a3dddd56
Commit
a3dddd56
authored
Mar 11, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] War on whitespace: cleanup initial spaces followed by tabs.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
59b3e8e9
Changes
38
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
87 additions
and
86 deletions
+87
-86
arch/mips/au1000/common/dbdma.c
arch/mips/au1000/common/dbdma.c
+2
-2
arch/mips/au1000/common/dma.c
arch/mips/au1000/common/dma.c
+1
-1
arch/mips/au1000/common/platform.c
arch/mips/au1000/common/platform.c
+2
-2
arch/mips/au1000/common/setup.c
arch/mips/au1000/common/setup.c
+1
-1
arch/mips/au1000/common/time.c
arch/mips/au1000/common/time.c
+1
-1
arch/mips/dec/prom/memory.c
arch/mips/dec/prom/memory.c
+1
-1
arch/mips/jazz/int-handler.S
arch/mips/jazz/int-handler.S
+6
-6
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/cpu-probe.c
+3
-3
arch/mips/kernel/gdb-low.S
arch/mips/kernel/gdb-low.S
+1
-1
arch/mips/kernel/signal-common.h
arch/mips/kernel/signal-common.h
+5
-5
arch/mips/kernel/signal32.c
arch/mips/kernel/signal32.c
+5
-5
arch/mips/kernel/traps.c
arch/mips/kernel/traps.c
+1
-1
arch/mips/lasat/image/romscript.normal
arch/mips/lasat/image/romscript.normal
+3
-2
arch/mips/mips-boards/generic/mipsIRQ.S
arch/mips/mips-boards/generic/mipsIRQ.S
+1
-1
arch/mips/mips-boards/sim/sim_IRQ.c
arch/mips/mips-boards/sim/sim_IRQ.c
+1
-1
arch/mips/mips-boards/sim/sim_irq.S
arch/mips/mips-boards/sim/sim_irq.S
+1
-1
arch/mips/mips-boards/sim/sim_smp.c
arch/mips/mips-boards/sim/sim_smp.c
+1
-1
arch/mips/mm/c-r3k.c
arch/mips/mm/c-r3k.c
+9
-9
arch/mips/momentum/jaguar_atx/reset.c
arch/mips/momentum/jaguar_atx/reset.c
+1
-1
arch/mips/momentum/jaguar_atx/setup.c
arch/mips/momentum/jaguar_atx/setup.c
+1
-1
arch/mips/momentum/ocelot_3/reset.c
arch/mips/momentum/ocelot_3/reset.c
+1
-1
arch/mips/momentum/ocelot_c/reset.c
arch/mips/momentum/ocelot_c/reset.c
+1
-1
arch/mips/pci/fixup-vr4133.c
arch/mips/pci/fixup-vr4133.c
+1
-1
arch/mips/pci/ops-ddb5477.c
arch/mips/pci/ops-ddb5477.c
+2
-2
arch/mips/pci/ops-tx4938.c
arch/mips/pci/ops-tx4938.c
+8
-8
arch/mips/pci/pci-bcm1480.c
arch/mips/pci/pci-bcm1480.c
+1
-1
arch/mips/pci/pci-bcm1480ht.c
arch/mips/pci/pci-bcm1480ht.c
+1
-1
arch/mips/pci/pci-ip27.c
arch/mips/pci/pci-ip27.c
+6
-6
arch/mips/philips/pnx8550/common/int.c
arch/mips/philips/pnx8550/common/int.c
+1
-1
arch/mips/sgi-ip27/ip27-memory.c
arch/mips/sgi-ip27/ip27-memory.c
+2
-2
arch/mips/sgi-ip32/ip32-setup.c
arch/mips/sgi-ip32/ip32-setup.c
+1
-1
arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_prom.c
arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_prom.c
+2
-2
arch/mips/tx4938/toshiba_rbtx4938/setup.c
arch/mips/tx4938/toshiba_rbtx4938/setup.c
+1
-1
arch/mips/vr41xx/common/bcu.c
arch/mips/vr41xx/common/bcu.c
+3
-3
include/asm-mips/pgtable-32.h
include/asm-mips/pgtable-32.h
+1
-1
include/asm-mips/sn/klconfig.h
include/asm-mips/sn/klconfig.h
+1
-1
include/asm-mips/sn/sn0/hubio.h
include/asm-mips/sn/sn0/hubio.h
+6
-6
include/asm-mips/thread_info.h
include/asm-mips/thread_info.h
+1
-1
No files found.
arch/mips/au1000/common/dbdma.c
View file @
a3dddd56
...
...
@@ -214,7 +214,7 @@ au1xxx_ddma_add_device(dbdev_tab_t *dev)
if
(
NULL
!=
p
)
{
memcpy
(
p
,
dev
,
sizeof
(
dbdev_tab_t
));
p
->
dev_id
=
DSCR_DEV2CUSTOM_ID
(
new_id
,
dev
->
dev_id
);
p
->
dev_id
=
DSCR_DEV2CUSTOM_ID
(
new_id
,
dev
->
dev_id
);
ret
=
p
->
dev_id
;
new_id
++
;
#if 0
...
...
@@ -260,7 +260,7 @@ au1xxx_dbdma_chan_alloc(u32 srcid, u32 destid,
spin_lock_irqsave
(
&
au1xxx_dbdma_spin_lock
,
flags
);
if
(
!
(
stp
->
dev_flags
&
DEV_FLAGS_INUSE
)
||
(
stp
->
dev_flags
&
DEV_FLAGS_ANYUSE
))
{
/* Got source */
/* Got source */
stp
->
dev_flags
|=
DEV_FLAGS_INUSE
;
if
(
!
(
dtp
->
dev_flags
&
DEV_FLAGS_INUSE
)
||
(
dtp
->
dev_flags
&
DEV_FLAGS_ANYUSE
))
{
...
...
arch/mips/au1000/common/dma.c
View file @
a3dddd56
...
...
@@ -174,7 +174,7 @@ int request_au1000_dma(int dev_id, const char *dev_str,
return
-
EINVAL
;
#else
if
(
dev_id
<
0
||
dev_id
>=
DMA_NUM_DEV
)
return
-
EINVAL
;
return
-
EINVAL
;
#endif
for
(
i
=
0
;
i
<
NUM_AU1000_DMA_CHANNELS
;
i
++
)
{
...
...
arch/mips/au1000/common/platform.c
View file @
a3dddd56
...
...
@@ -264,7 +264,7 @@ static struct resource smc91x_resources[] = {
static
struct
platform_device
smc91x_device
=
{
.
name
=
"smc91x"
,
.
id
=
-
1
,
.
id
=
-
1
,
.
num_resources
=
ARRAY_SIZE
(
smc91x_resources
),
.
resource
=
smc91x_resources
,
};
...
...
@@ -288,7 +288,7 @@ static struct platform_device *au1xxx_platform_devices[] __initdata = {
&
au1xxx_mmc_device
,
#endif
#ifdef CONFIG_MIPS_DB1200
&
smc91x_device
,
&
smc91x_device
,
#endif
};
...
...
arch/mips/au1000/common/setup.c
View file @
a3dddd56
...
...
@@ -90,7 +90,7 @@ void __init plat_setup(void)
else
{
/* Clear to obtain best system bus performance */
clear_c0_config
(
1
<<
19
);
/* Clear Config[OD] */
}
}
argptr
=
prom_getcmdline
();
...
...
arch/mips/au1000/common/time.c
View file @
a3dddd56
...
...
@@ -359,7 +359,7 @@ static unsigned long do_fast_cp0_gettimeoffset(void)
:
"hi"
,
"lo"
,
GCC_REG_ACCUM
);
/*
* Due to possible jiffies inconsistencies, we need to check
* Due to possible jiffies inconsistencies, we need to check
* the result so that we'll get a timer that is monotonic.
*/
if
(
res
>=
USECS_PER_JIFFY
)
...
...
arch/mips/dec/prom/memory.c
View file @
a3dddd56
...
...
@@ -45,7 +45,7 @@ static inline void pmax_setup_memory_region(void)
*/
for
(
memory_page
=
(
unsigned
char
*
)
CKSEG1
+
CHUNK_SIZE
;
mem_err
==
0
&&
memory_page
<
(
unsigned
char
*
)
CKSEG1
+
0x1e00000
;
memory_page
+=
CHUNK_SIZE
)
{
memory_page
+=
CHUNK_SIZE
)
{
dummy
=
*
memory_page
;
}
memcpy
((
void
*
)(
CKSEG0
+
0x80
),
&
old_handler
,
0x80
);
...
...
arch/mips/jazz/int-handler.S
View file @
a3dddd56
...
...
@@ -248,17 +248,17 @@ loc_call: /*
and
t2
,
s1
sh
t2
,
JAZZ_IO_IRQ_ENABLE
nor
s1
,
zero
,
s1
nor
s1
,
zero
,
s1
jal
do_IRQ
/
*
*
Reenable
interrupt
*/
/
*
*
Reenable
interrupt
*/
lhu
t2
,
JAZZ_IO_IRQ_ENABLE
or
t2
,
s1
or
t2
,
s1
sh
t2
,
JAZZ_IO_IRQ_ENABLE
j
ret_from_irq
j
ret_from_irq
/*
*
"Jump extender"
to
reach
spurious_interrupt
...
...
arch/mips/kernel/cpu-probe.c
View file @
a3dddd56
...
...
@@ -291,7 +291,7 @@ static inline void cpu_probe_legacy(struct cpuinfo_mips *c)
* for documentation. Commented out because it shares
* it's c0_prid id number with the TX3900.
*/
c->cputype = CPU_R4650;
c->cputype = CPU_R4650;
c->isa_level = MIPS_CPU_ISA_III;
c->options = R4K_OPTS | MIPS_CPU_FPU | MIPS_CPU_LLSC;
c->tlbsize = 48;
...
...
@@ -604,7 +604,7 @@ static inline void cpu_probe_alchemy(struct cpuinfo_mips *c)
case
PRID_IMP_AU1_REV2
:
switch
((
c
->
processor_id
>>
24
)
&
0xff
)
{
case
0
:
c
->
cputype
=
CPU_AU1000
;
c
->
cputype
=
CPU_AU1000
;
break
;
case
1
:
c
->
cputype
=
CPU_AU1500
;
...
...
@@ -705,7 +705,7 @@ __init void cpu_probe(void)
break
;
case
PRID_COMP_PHILIPS
:
cpu_probe_philips
(
c
);
break
;
break
;
default:
c
->
cputype
=
CPU_UNKNOWN
;
}
...
...
arch/mips/kernel/gdb-low.S
View file @
a3dddd56
...
...
@@ -41,7 +41,7 @@
*/
.
align
5
NESTED
(
trap_low
,
GDB_FR_SIZE
,
sp
)
.
set
noat
.
set
noat
.
set
noreorder
mfc0
k0
,
CP0_STATUS
...
...
arch/mips/kernel/signal-common.h
View file @
a3dddd56
...
...
@@ -166,11 +166,11 @@ get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size)
sp
=
regs
->
regs
[
29
];
/*
* FPU emulator may have it's own trampoline active just
* above the user stack, 16-bytes before the next lowest
* 16 byte boundary. Try to avoid trashing it.
*/
sp
-=
32
;
* FPU emulator may have it's own trampoline active just
* above the user stack, 16-bytes before the next lowest
* 16 byte boundary. Try to avoid trashing it.
*/
sp
-=
32
;
/* This is the X/Open sanctioned signal stack switching. */
if
((
ka
->
sa
.
sa_flags
&
SA_ONSTACK
)
&&
(
sas_ss_flags
(
sp
)
==
0
))
...
...
arch/mips/kernel/signal32.c
View file @
a3dddd56
...
...
@@ -624,11 +624,11 @@ static inline void __user *get_sigframe(struct k_sigaction *ka,
sp
=
regs
->
regs
[
29
];
/*
* FPU emulator may have it's own trampoline active just
* above the user stack, 16-bytes before the next lowest
* 16 byte boundary. Try to avoid trashing it.
*/
sp
-=
32
;
* FPU emulator may have it's own trampoline active just
* above the user stack, 16-bytes before the next lowest
* 16 byte boundary. Try to avoid trashing it.
*/
sp
-=
32
;
/* This is the X/Open sanctioned signal stack switching. */
if
((
ka
->
sa
.
sa_flags
&
SA_ONSTACK
)
&&
(
sas_ss_flags
(
sp
)
==
0
))
...
...
arch/mips/kernel/traps.c
View file @
a3dddd56
...
...
@@ -576,7 +576,7 @@ asmlinkage void do_fpe(struct pt_regs *regs, unsigned long fcr31)
}
#endif
/*
* Unimplemented operation exception. If we've got the full
* Unimplemented operation exception. If we've got the full
* software emulator on-board, let's use it...
*
* Force FPU to dump state into task/thread context. We're
...
...
arch/mips/lasat/image/romscript.normal
View file @
a3dddd56
...
...
@@ -16,7 +16,8 @@ SECTIONS
_image_start = ADDR(.data);
_image_size = SIZEOF(.data);
.other : {
*(.*)
.other :
{
*(.*)
}
}
arch/mips/mips-boards/generic/mipsIRQ.S
View file @
a3dddd56
...
...
@@ -98,7 +98,7 @@
and
s0
,
s1
#if defined(CONFIG_CPU_MIPS32) || defined(CONFIG_CPU_MIPS64)
.
set
mips32
.
set
mips32
clz
a0
,
s0
.
set
mips0
negu
a0
...
...
arch/mips/mips-boards/sim/sim_IRQ.c
View file @
a3dddd56
...
...
@@ -96,7 +96,7 @@
andi
a0
,
s0
,
CAUSEF_IP3
#
delay
slot
,
check
hw1
interrupt
#else
beq
a0
,
zero
,
1
f
#
delay
slot
,
check
hw3
interrupt
andi
a0
,
s0
,
CAUSEF_IP5
andi
a0
,
s0
,
CAUSEF_IP5
#endif
/* Wheee, combined hardware level zero interrupt. */
...
...
arch/mips/mips-boards/sim/sim_irq.S
View file @
a3dddd56
...
...
@@ -42,7 +42,7 @@
and
s0
,
s1
#if defined(CONFIG_CPU_MIPS32) || defined(CONFIG_CPU_MIPS64)
.
set
mips32
.
set
mips32
clz
a0
,
s0
.
set
mips0
negu
a0
...
...
arch/mips/mips-boards/sim/sim_smp.c
View file @
a3dddd56
...
...
@@ -115,7 +115,7 @@ void prom_prepare_cpus(unsigned int max_cpus)
#ifdef CONFIG_MIPS_MT_SMTC
void
mipsmt_prepare_cpus
(
int
c
);
/*
* As noted above, we can assume a single CPU for now
* As noted above, we can assume a single CPU for now
* but it may be multithreaded.
*/
...
...
arch/mips/mm/c-r3k.c
View file @
a3dddd56
...
...
@@ -129,7 +129,7 @@ static void r3k_flush_icache_range(unsigned long start, unsigned long end)
"sb
\t
$0, 0x014(%0)
\n\t
"
"sb
\t
$0, 0x018(%0)
\n\t
"
"sb
\t
$0, 0x01c(%0)
\n\t
"
"sb
\t
$0, 0x020(%0)
\n\t
"
"sb
\t
$0, 0x020(%0)
\n\t
"
"sb
\t
$0, 0x024(%0)
\n\t
"
"sb
\t
$0, 0x028(%0)
\n\t
"
"sb
\t
$0, 0x02c(%0)
\n\t
"
...
...
@@ -145,7 +145,7 @@ static void r3k_flush_icache_range(unsigned long start, unsigned long end)
"sb
\t
$0, 0x054(%0)
\n\t
"
"sb
\t
$0, 0x058(%0)
\n\t
"
"sb
\t
$0, 0x05c(%0)
\n\t
"
"sb
\t
$0, 0x060(%0)
\n\t
"
"sb
\t
$0, 0x060(%0)
\n\t
"
"sb
\t
$0, 0x064(%0)
\n\t
"
"sb
\t
$0, 0x068(%0)
\n\t
"
"sb
\t
$0, 0x06c(%0)
\n\t
"
...
...
@@ -182,31 +182,31 @@ static void r3k_flush_dcache_range(unsigned long start, unsigned long end)
"sb
\t
$0, 0x004(%0)
\n\t
"
"sb
\t
$0, 0x008(%0)
\n\t
"
"sb
\t
$0, 0x00c(%0)
\n\t
"
"sb
\t
$0, 0x010(%0)
\n\t
"
"sb
\t
$0, 0x010(%0)
\n\t
"
"sb
\t
$0, 0x014(%0)
\n\t
"
"sb
\t
$0, 0x018(%0)
\n\t
"
"sb
\t
$0, 0x01c(%0)
\n\t
"
"sb
\t
$0, 0x020(%0)
\n\t
"
"sb
\t
$0, 0x020(%0)
\n\t
"
"sb
\t
$0, 0x024(%0)
\n\t
"
"sb
\t
$0, 0x028(%0)
\n\t
"
"sb
\t
$0, 0x02c(%0)
\n\t
"
"sb
\t
$0, 0x030(%0)
\n\t
"
"sb
\t
$0, 0x030(%0)
\n\t
"
"sb
\t
$0, 0x034(%0)
\n\t
"
"sb
\t
$0, 0x038(%0)
\n\t
"
"sb
\t
$0, 0x03c(%0)
\n\t
"
"sb
\t
$0, 0x040(%0)
\n\t
"
"sb
\t
$0, 0x040(%0)
\n\t
"
"sb
\t
$0, 0x044(%0)
\n\t
"
"sb
\t
$0, 0x048(%0)
\n\t
"
"sb
\t
$0, 0x04c(%0)
\n\t
"
"sb
\t
$0, 0x050(%0)
\n\t
"
"sb
\t
$0, 0x050(%0)
\n\t
"
"sb
\t
$0, 0x054(%0)
\n\t
"
"sb
\t
$0, 0x058(%0)
\n\t
"
"sb
\t
$0, 0x05c(%0)
\n\t
"
"sb
\t
$0, 0x060(%0)
\n\t
"
"sb
\t
$0, 0x060(%0)
\n\t
"
"sb
\t
$0, 0x064(%0)
\n\t
"
"sb
\t
$0, 0x068(%0)
\n\t
"
"sb
\t
$0, 0x06c(%0)
\n\t
"
"sb
\t
$0, 0x070(%0)
\n\t
"
"sb
\t
$0, 0x070(%0)
\n\t
"
"sb
\t
$0, 0x074(%0)
\n\t
"
"sb
\t
$0, 0x078(%0)
\n\t
"
"sb
\t
$0, 0x07c(%0)
\n\t
"
...
...
arch/mips/momentum/jaguar_atx/reset.c
View file @
a3dddd56
...
...
@@ -32,7 +32,7 @@ void momenco_jaguar_restart(char *command)
#else
void
*
nvram
=
(
void
*
)
0xfc807000
;
#endif
/* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */
/* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */
writeb
(
0x84
,
nvram
+
0xff7
);
/* wait for the watchdog to go off */
...
...
arch/mips/momentum/jaguar_atx/setup.c
View file @
a3dddd56
...
...
@@ -461,7 +461,7 @@ void __init plat_setup(void)
unsigned
int
tbControl
;
tbControl
=
0
<<
26
|
/* post trigger delay 0 */
0x2
<<
16
|
/* sequential trace mode */
0x2
<<
16
|
/* sequential trace mode */
// 0x0 << 16 | /* non-sequential trace mode */
// 0xf << 4 | /* watchpoints disabled */
2
<<
2
|
/* armed */
...
...
arch/mips/momentum/ocelot_3/reset.c
View file @
a3dddd56
...
...
@@ -34,7 +34,7 @@ void momenco_ocelot_restart(char *command)
/* base address of timekeeper portion of part */
void
*
nvram
=
(
void
*
)
0xfc807000L
;
/* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */
/* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */
writeb
(
0x84
,
nvram
+
0xff7
);
/* wait for the watchdog to go off */
...
...
arch/mips/momentum/ocelot_c/reset.c
View file @
a3dddd56
...
...
@@ -34,7 +34,7 @@ void momenco_ocelot_restart(char *command)
0xfc807000
;
#endif
/* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */
/* Ask the NVRAM/RTC/watchdog chip to assert reset in 1/16 second */
writeb
(
0x84
,
nvram
+
0xff7
);
/* wait for the watchdog to go off */
...
...
arch/mips/pci/fixup-vr4133.c
View file @
a3dddd56
...
...
@@ -45,7 +45,7 @@ int pcibios_plat_dev_init(struct pci_dev *dev)
/*
* we have to open the bridges' windows down to 0 because otherwise
* we cannot access ISA south bridge I/O registers that get mapped from
* we cannot access ISA south bridge I/O registers that get mapped from
* 0. for example, 8259 PIC would be unaccessible without that
*/
if
(
dev
->
vendor
==
PCI_VENDOR_ID_INTEL
&&
dev
->
device
==
PCI_DEVICE_ID_INTEL_S21152BB
)
{
...
...
arch/mips/pci/ops-ddb5477.c
View file @
a3dddd56
...
...
@@ -253,9 +253,9 @@ static int write_config_byte(struct pci_config_swap *swap,
static int prefix##_##rw##_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 star val) \
{ \
if (size == 1) \
return rw##_config_byte(pciswap, bus, devfn, where, (u8 star)val); \
return rw##_config_byte(pciswap, bus, devfn, where, (u8 star)val); \
else if (size == 2) \
return rw##_config_word(pciswap, bus, devfn, where, (u16 star)val); \
return rw##_config_word(pciswap, bus, devfn, where, (u16 star)val); \
/* Size must be 4 */
\
return rw##_config_dword(pciswap, bus, devfn, where, val); \
}
...
...
arch/mips/pci/ops-tx4938.c
View file @
a3dddd56
...
...
@@ -34,16 +34,16 @@ struct resource pci_mem_resource = {
};
struct
resource
tx4938_pcic1_pci_io_resource
=
{
.
name
=
"PCI1 IO"
,
.
start
=
0
,
.
end
=
0
,
.
flags
=
IORESOURCE_IO
.
name
=
"PCI1 IO"
,
.
start
=
0
,
.
end
=
0
,
.
flags
=
IORESOURCE_IO
};
struct
resource
tx4938_pcic1_pci_mem_resource
=
{
.
name
=
"PCI1 mem"
,
.
start
=
0
,
.
end
=
0
,
.
flags
=
IORESOURCE_MEM
.
name
=
"PCI1 mem"
,
.
start
=
0
,
.
end
=
0
,
.
flags
=
IORESOURCE_MEM
};
static
int
mkaddr
(
int
bus
,
int
dev_fn
,
int
where
,
int
*
flagsp
)
...
...
arch/mips/pci/pci-bcm1480.c
View file @
a3dddd56
...
...
@@ -100,7 +100,7 @@ static int bcm1480_pci_can_access(struct pci_bus *bus, int devfn)
if
(
bus
->
number
==
0
)
{
devno
=
PCI_SLOT
(
devfn
);
if
(
bcm1480_bus_status
&
PCI_DEVICE_MODE
)
if
(
bcm1480_bus_status
&
PCI_DEVICE_MODE
)
return
0
;
else
return
1
;
...
...
arch/mips/pci/pci-bcm1480ht.c
View file @
a3dddd56
...
...
@@ -95,7 +95,7 @@ static int bcm1480ht_can_access(struct pci_bus *bus, int devfn)
if
(
bus
->
number
==
0
)
{
devno
=
PCI_SLOT
(
devfn
);
if
(
bcm1480ht_bus_status
&
PCI_DEVICE_MODE
)
if
(
bcm1480ht_bus_status
&
PCI_DEVICE_MODE
)
return
0
;
}
return
1
;
...
...
arch/mips/pci/pci-ip27.c
View file @
a3dddd56
...
...
@@ -379,18 +379,18 @@ int __init bridge_probe(nasid_t nasid, int widget_id, int masterwid)
bridge
=
(
bridge_t
*
)
RAW_NODE_SWIN_BASE
(
nasid
,
widget_id
);
/*
* Clear all pending interrupts.
*/
* Clear all pending interrupts.
*/
bridge
->
b_int_rst_stat
=
BRIDGE_IRR_ALL_CLR
;
/*
* Until otherwise set up, assume all interrupts are from slot 0
*/
* Until otherwise set up, assume all interrupts are from slot 0
*/
bridge
->
b_int_device
=
0x0
;
/*
* swap pio's to pci mem and io space (big windows)
*/
* swap pio's to pci mem and io space (big windows)
*/
bridge
->
b_wid_control
|=
BRIDGE_CTRL_IO_SWAP
|
BRIDGE_CTRL_MEM_SWAP
;
...
...
arch/mips/philips/pnx8550/common/int.c
View file @
a3dddd56
...
...
@@ -251,7 +251,7 @@ void __init arch_init_irq(void)
if
(
gic_int_line
==
(
PNX8550_INT_GPIO0
-
PNX8550_INT_GIC_MIN
))
{
/* PCI INT through gpio 8, which is setup in
* pnx8550_setup.c and routed to GPIO
* Interrupt Level 0 (GPIO Connection 58).
* Interrupt Level 0 (GPIO Connection 58).
* Set it active low. */
PNX8550_GIC_REQ
(
gic_int_line
)
=
0x1E020000
;
...
...
arch/mips/sgi-ip27/ip27-memory.c
View file @
a3dddd56
...
...
@@ -540,8 +540,8 @@ void __init mem_init(void)
struct
page
*
end
,
*
p
;
/*
* This will free up the bootmem, ie, slot 0 memory.
*/
* This will free up the bootmem, ie, slot 0 memory.
*/
totalram_pages
+=
free_all_bootmem_node
(
NODE_DATA
(
node
));
/*
...
...
arch/mips/sgi-ip32/ip32-setup.c
View file @
a3dddd56
...
...
@@ -98,7 +98,7 @@ void __init plat_setup(void)
board_timer_setup
=
ip32_timer_setup
;
#ifdef CONFIG_SERIAL_8250
{
{
static
struct
uart_port
o2_serial
[
2
];
memset
(
o2_serial
,
0
,
sizeof
(
o2_serial
));
...
...
arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_prom.c
View file @
a3dddd56
...
...
@@ -70,10 +70,10 @@ void __init prom_init(void)
if
((
read_c0_prid
()
&
0xff
)
==
PRID_REV_TX4927
)
{
mips_machtype
=
MACH_TOSHIBA_RBTX4927
;
toshiba_name
=
"TX4927"
;
toshiba_name
=
"TX4927"
;
}
else
{
mips_machtype
=
MACH_TOSHIBA_RBTX4937
;
toshiba_name
=
"TX4937"
;
toshiba_name
=
"TX4937"
;
}
msize
=
tx4927_get_mem_size
();
...
...
arch/mips/tx4938/toshiba_rbtx4938/setup.c
View file @
a3dddd56
...
...
@@ -684,7 +684,7 @@ void __init tx4938_board_setup(void)
for
(
i
=
0
;
i
<
8
;
i
++
)
{
if
(
!
(
tx4938_ebuscptr
->
cr
[
i
]
&
0x8
))
continue
;
/* disabled */
rbtx4938_ce_base
[
i
]
=
(
unsigned
long
)
TX4938_EBUSC_BA
(
i
);
rbtx4938_ce_base
[
i
]
=
(
unsigned
long
)
TX4938_EBUSC_BA
(
i
);
txboard_add_phys_region
(
rbtx4938_ce_base
[
i
],
TX4938_EBUSC_SIZE
(
i
));
}
...
...
arch/mips/vr41xx/common/bcu.c
View file @
a3dddd56
...
...
@@ -183,11 +183,11 @@ static inline unsigned long calculate_tclock(uint16_t clkspeed, unsigned long pc
switch
(
current_cpu_data
.
cputype
)
{
case
CPU_VR4111
:
if
(
!
(
clkspeed
&
DIV2B
))
tclock
=
pclock
/
2
;
tclock
=
pclock
/
2
;
else
if
(
!
(
clkspeed
&
DIV3B
))
tclock
=
pclock
/
3
;
tclock
=
pclock
/
3
;
else
if
(
!
(
clkspeed
&
DIV4B
))
tclock
=
pclock
/
4
;
tclock
=
pclock
/
4
;
break
;
case
CPU_VR4121
:
tclock
=
pclock
/
DIVT
(
clkspeed
);
...
...
include/asm-mips/pgtable-32.h
View file @
a3dddd56
...
...
@@ -206,7 +206,7 @@ pfn_pte(unsigned long pfn, pgprot_t prot)
/* fixme */
#define pte_to_pgoff(_pte) (((_pte).pte_high >> 6) + ((_pte).pte_high & 0x3f))
#define pgoff_to_pte(off) \
((pte_t){(((off) & 0x3f) + ((off) << 6) + _PAGE_FILE)})
((pte_t){(((off) & 0x3f) + ((off) << 6) + _PAGE_FILE)})
#else
#define pte_to_pgoff(_pte) \
...
...
include/asm-mips/sn/klconfig.h
View file @
a3dddd56
...
...
@@ -99,7 +99,7 @@ typedef s32 klconf_off_t;
#define ENABLE_BOARD 0x01
#define FAILED_BOARD 0x02
#define DUPLICATE_BOARD 0x04
/* Boards like midplanes/routers which
are discovered twice. Use one of them */
are discovered twice. Use one of them */
#define VISITED_BOARD 0x08
/* Used for compact hub numbering. */
#define LOCAL_MASTER_IO6 0x10
/* master io6 for that node */
#define GLOBAL_MASTER_IO6 0x20
...
...
include/asm-mips/sn/sn0/hubio.h
View file @
a3dddd56
...
...
@@ -229,7 +229,7 @@ typedef union hubii_ilcsr_u {
icsr_llp_en:
1
,
/* LLP enable bit */
icsr_rsvd2:
1
,
/* reserver */
icsr_wrm_reset:
1
,
/* Warm reset bit */
icsr_rsvd1:
2
,
/* Data ready offset */
icsr_rsvd1:
2
,
/* Data ready offset */
icsr_null_to:
6
;
/* Null timeout */
}
icsr_fields_s
;
...
...
@@ -274,9 +274,9 @@ typedef union io_perf_sel {
u64
perf_sel_reg
;
struct
{
u64
perf_rsvd
:
48
,
perf_icct
:
8
,
perf_ippr1
:
4
,
perf_ippr0
:
4
;
perf_icct
:
8
,
perf_ippr1
:
4
,
perf_ippr0
:
4
;
}
perf_sel_bits
;
}
io_perf_sel_t
;
...
...
@@ -287,8 +287,8 @@ typedef union io_perf_cnt {
u64
perf_cnt
;
struct
{
u64
perf_rsvd1
:
32
,
perf_rsvd2
:
12
,
perf_cnt
:
20
;
perf_rsvd2
:
12
,
perf_cnt
:
20
;
}
perf_cnt_bits
;
}
io_perf_cnt_t
;
...
...
include/asm-mips/thread_info.h
View file @
a3dddd56
...
...
@@ -31,7 +31,7 @@ struct thread_info {
int
preempt_count
;
/* 0 => preemptable, <0 => BUG */
mm_segment_t
addr_limit
;
/* thread address space:
0-0xBFFFFFFF for user-thead
0-0xBFFFFFFF for user-thead
0-0xFFFFFFFF for kernel-thread
*/
struct
restart_block
restart_block
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment