diff options
author | Andrew Morton <[email protected]> | 2009-09-24 14:47:45 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-09-24 17:11:24 -0700 |
commit | e9ea0e2d1d00959b451dfc239df126d3c6a22043 (patch) | |
tree | 3dd9e8178a92fab0004b5bcbed568ed0ad92cfc9 /net/lapb/lapb_iface.c | |
parent | c44972f1782124f945ec8bea8a78f30f1a3538bd (diff) |
hugetlb_file_setup(): use C, not cpp
Why macros are always wrong:
mm/mmap.c: In function 'do_mmap_pgoff':
mm/mmap.c:953: warning: unused variable 'user'
also, move a couple of struct forward-decls outside `#ifdef
CONFIG_HUGETLB_PAGE' - it's pointless and frequently harmful to make these
conditional (eg, this patch needed `struct user_struct').
Cc: Lee Schermerhorn <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Nishanth Aravamudan <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Adam Litke <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Cc: Eric Whitney <[email protected]>
Cc: Eric B Munson <[email protected]>
Cc: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions