aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smtc-proc.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-01-22 06:59:30 -0500
committerRalf Baechle <ralf@linux-mips.org>2013-02-01 04:00:22 -0500
commit7034228792cc561e79ff8600f02884bd4c80e287 (patch)
tree89b77af37d087d9de236fc5d21f60bf552d0a2c6 /arch/mips/kernel/smtc-proc.c
parent405ab01c70e18058d9c01a1256769a61fc65413e (diff)
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>
Diffstat (limited to 'arch/mips/kernel/smtc-proc.c')
-rw-r--r--arch/mips/kernel/smtc-proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/smtc-proc.c b/arch/mips/kernel/smtc-proc.c
index 145771c0ed7a..aee7c8177b5d 100644
--- a/arch/mips/kernel/smtc-proc.c
+++ b/arch/mips/kernel/smtc-proc.c
@@ -35,7 +35,7 @@ static struct proc_dir_entry *smtc_stats;
35atomic_t smtc_fpu_recoveries; 35atomic_t smtc_fpu_recoveries;
36 36
37static int proc_read_smtc(char *page, char **start, off_t off, 37static int proc_read_smtc(char *page, char **start, off_t off,
38 int count, int *eof, void *data) 38 int count, int *eof, void *data)
39{ 39{
40 int totalen = 0; 40 int totalen = 0;
41 int len; 41 int len;
@@ -68,7 +68,7 @@ static int proc_read_smtc(char *page, char **start, off_t off,
68 page += len; 68 page += len;
69 } 69 }
70 len = sprintf(page, "%d Recoveries of \"stolen\" FPU\n", 70 len = sprintf(page, "%d Recoveries of \"stolen\" FPU\n",
71 atomic_read(&smtc_fpu_recoveries)); 71 atomic_read(&smtc_fpu_recoveries));
72 totalen += len; 72 totalen += len;
73 page += len; 73 page += len;
74 74
@@ -87,5 +87,5 @@ void init_smtc_stats(void)
87 atomic_set(&smtc_fpu_recoveries, 0); 87 atomic_set(&smtc_fpu_recoveries, 0);
88 88
89 smtc_stats = create_proc_read_entry("smtc", 0444, NULL, 89 smtc_stats = create_proc_read_entry("smtc", 0444, NULL,
90 proc_read_smtc, NULL); 90 proc_read_smtc, NULL);
91} 91}