diff options
author | Joe Perches <joe@perches.com> | 2014-10-31 13:50:46 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2014-11-11 15:51:42 -0500 |
commit | f47436734dc89ece62654d4db8d08163a89dd7ca (patch) | |
tree | 1977a1e352588c026c87cc1fc34c93fabba6f2b7 /arch/tile/mm/homecache.c | |
parent | ebd25caf7d511312d1a9724ab5752e9e661dfe60 (diff) |
tile: Use the more common pr_warn instead of pr_warning
And other message logging neatening.
Other miscellanea:
o coalesce formats
o realign arguments
o standardize a couple of macros
o use __func__ instead of embedding the function name
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/mm/homecache.c')
-rw-r--r-- | arch/tile/mm/homecache.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/tile/mm/homecache.c b/arch/tile/mm/homecache.c index 33294fdc402e..cd3387370ebb 100644 --- a/arch/tile/mm/homecache.c +++ b/arch/tile/mm/homecache.c | |||
@@ -152,12 +152,10 @@ void flush_remote(unsigned long cache_pfn, unsigned long cache_control, | |||
152 | cpumask_scnprintf(cache_buf, sizeof(cache_buf), &cache_cpumask_copy); | 152 | cpumask_scnprintf(cache_buf, sizeof(cache_buf), &cache_cpumask_copy); |
153 | cpumask_scnprintf(tlb_buf, sizeof(tlb_buf), &tlb_cpumask_copy); | 153 | cpumask_scnprintf(tlb_buf, sizeof(tlb_buf), &tlb_cpumask_copy); |
154 | 154 | ||
155 | pr_err("hv_flush_remote(%#llx, %#lx, %p [%s]," | 155 | pr_err("hv_flush_remote(%#llx, %#lx, %p [%s], %#lx, %#lx, %#lx, %p [%s], %p, %d) = %d\n", |
156 | " %#lx, %#lx, %#lx, %p [%s], %p, %d) = %d\n", | ||
157 | cache_pa, cache_control, cache_cpumask, cache_buf, | 156 | cache_pa, cache_control, cache_cpumask, cache_buf, |
158 | (unsigned long)tlb_va, tlb_length, tlb_pgsize, | 157 | (unsigned long)tlb_va, tlb_length, tlb_pgsize, |
159 | tlb_cpumask, tlb_buf, | 158 | tlb_cpumask, tlb_buf, asids, asidcount, rc); |
160 | asids, asidcount, rc); | ||
161 | panic("Unsafe to continue."); | 159 | panic("Unsafe to continue."); |
162 | } | 160 | } |
163 | 161 | ||