diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2009-09-24 14:47:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 17:11:24 -0700 |
commit | e9ea0e2d1d00959b451dfc239df126d3c6a22043 (patch) | |
tree | 3dd9e8178a92fab0004b5bcbed568ed0ad92cfc9 /include/asm-generic | |
parent | c44972f1782124f945ec8bea8a78f30f1a3538bd (diff) | |
download | op-kernel-dev-e9ea0e2d1d00959b451dfc239df126d3c6a22043.zip op-kernel-dev-e9ea0e2d1d00959b451dfc239df126d3c6a22043.tar.gz |
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 <lee.schermerhorn@hp.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Adam Litke <agl@us.ibm.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Eric Whitney <eric.whitney@hp.com>
Cc: Eric B Munson <ebmunson@us.ibm.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions