kernel-ark/fs/pstore
Anton Vorontsov 67a101f573 pstore: Headers should include all stuff they use
Headers should really include all the needed prototypes, types, defines
etc. to be self-contained. This is a long-standing issue, but apparently
the new tracing code unearthed it (SMP=n is also a prerequisite):

In file included from fs/pstore/internal.h:4:0,
                 from fs/pstore/ftrace.c:21:
include/linux/pstore.h:43:15: error: field ‘read_mutex’ has incomplete type

While at it, I also added the following:

linux/types.h -> size_t, phys_addr_t, uXX and friends
linux/spinlock.h -> spinlock_t
linux/errno.h -> Exxxx
linux/time.h -> struct timespec (struct passed by value)
struct module and rs_control forward declaration (passed via pointers).

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-07-17 12:15:30 -07:00
..
ftrace.c pstore: Add persistent function tracing 2012-07-17 10:05:52 -07:00
inode.c pstore: Add persistent function tracing 2012-07-17 10:05:52 -07:00
internal.h pstore: Headers should include all stuff they use 2012-07-17 12:15:30 -07:00
Kconfig pstore: Add persistent function tracing 2012-07-17 10:05:52 -07:00
Makefile pstore: Add persistent function tracing 2012-07-17 10:05:52 -07:00
platform.c pstore: Add persistent function tracing 2012-07-17 10:05:52 -07:00
ram_core.c pstore/ram_core: Get rid of prz->ecc enable/disable flag 2012-07-17 09:46:52 -07:00
ram.c pstore/ram: Add ftrace messages handling 2012-07-17 10:14:17 -07:00