diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2014-11-28 22:03:41 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-12-08 11:48:15 +0100 |
commit | 3736708f034ae1e8c62789ed737e8b90d5b40210 (patch) | |
tree | 84cacbd0d74c840be9a8170d9581563696d4e455 /arch/x86/mm | |
parent | x86/asm: Fix typo in arch/x86/kernel/asm_offset_64.c (diff) | |
download | linux-3736708f034ae1e8c62789ed737e8b90d5b40210.tar.xz linux-3736708f034ae1e8c62789ed737e8b90d5b40210.zip |
x86: Replace seq_printf() with seq_puts()
seq_puts is a lot cheaper than seq_printf, so use that to print
literal strings.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Link: http://lkml.kernel.org/r/1417208622-12264-1-git-send-email-linux@rasmusvillemoes.dk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/pat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/pat.c b/arch/x86/mm/pat.c index 657438858e83..c7eddbe6a612 100644 --- a/arch/x86/mm/pat.c +++ b/arch/x86/mm/pat.c @@ -824,7 +824,7 @@ static void *memtype_seq_start(struct seq_file *seq, loff_t *pos) { if (*pos == 0) { ++*pos; - seq_printf(seq, "PAT memtype list:\n"); + seq_puts(seq, "PAT memtype list:\n"); } return memtype_get_idx(*pos); |