diff options
author | Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com> | 2013-07-02 01:36:54 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-07-02 04:39:37 -0400 |
commit | 1d8b368ab4aacfc3f864655baad4d31a3028ec1a (patch) | |
tree | 67426d9ea87126eb8c41630f10621f2b591fb4fa /fs/pstore | |
parent | 7a9cdd95fe153f86d23f63811ad4ba0ab32dad57 (diff) |
pstore: Add hsize argument in write_buf call of pstore_ftrace_call
Incorporate the addition of hsize argument in write_buf callback
of pstore. This was forgotten in
6bbbca735936e15b9431882eceddcf6dff76e03c
pstore: Pass header size in the pstore write callback
Causing a build failure when ftrace and pstore are enabled.
Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'fs/pstore')
-rw-r--r-- | fs/pstore/ftrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pstore/ftrace.c b/fs/pstore/ftrace.c index 43b12807a51d..76a4eeb92982 100644 --- a/fs/pstore/ftrace.c +++ b/fs/pstore/ftrace.c | |||
@@ -44,7 +44,7 @@ static void notrace pstore_ftrace_call(unsigned long ip, | |||
44 | rec.parent_ip = parent_ip; | 44 | rec.parent_ip = parent_ip; |
45 | pstore_ftrace_encode_cpu(&rec, raw_smp_processor_id()); | 45 | pstore_ftrace_encode_cpu(&rec, raw_smp_processor_id()); |
46 | psinfo->write_buf(PSTORE_TYPE_FTRACE, 0, NULL, 0, (void *)&rec, | 46 | psinfo->write_buf(PSTORE_TYPE_FTRACE, 0, NULL, 0, (void *)&rec, |
47 | sizeof(rec), psinfo); | 47 | 0, sizeof(rec), psinfo); |
48 | 48 | ||
49 | local_irq_restore(flags); | 49 | local_irq_restore(flags); |
50 | } | 50 | } |