From: Andrew Morton - Kill the typedef - Coding style tweaks - It'll need a header for PAGE_SIZE. mm.h will do it. Cc: Eric W. Biederman Cc: Sukadev Bhattiprolu Cc: Dave Hansen Cc: Serge Hallyn Cc: Cedric Le Goater Signed-off-by: Andrew Morton --- include/linux/pspace.h | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff -puN include/linux/pspace.h~move-pidmap-to-pspaceh-fix include/linux/pspace.h --- a/include/linux/pspace.h~move-pidmap-to-pspaceh-fix +++ a/include/linux/pspace.h @@ -2,16 +2,15 @@ #define _LINUX_PSPACE_H #include +#include #include #include -typedef struct pidmap -{ +struct pidmap { atomic_t nr_free; void *page; -} pidmap_t; +}; #define PIDMAP_ENTRIES ((PID_MAX_LIMIT + 8*PAGE_SIZE - 1)/PAGE_SIZE/8) - #endif /* _LINUX_PSPACE_H */ _