diff options
author | Linus Torvalds <[email protected]> | 2011-05-26 12:03:50 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-05-26 12:03:50 -0700 |
commit | be93d8cfbae1996052e91b2883d306a5d9d0fe18 (patch) | |
tree | 1fc0049faffde8f8f6e752f9cc563908482d9537 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | a74b81b0aff4a01e0816df5915c854fb52c5e87f (diff) |
Fix build with !HUGETLBFS
I stupidly broke the case of CONFIG_HUGETLBFS=n when doing the
conversion to vm_flags_t in commit ca16d140af91 ("mm: don't access
vm_flags as 'int'"). And my 'allyesconfig' build didn't find it, for
obvious reasons..
Include <linux/mm_types.h> in <linux/hugetlb.h>. The problem could have
been avoided by just turning the hugetlb_file_setup() error wrapper into
a macro, but mm_types.h is a reasonable include in this file.
Reported-by: Richard -rw- Weinberger <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions