aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2011-02-27 05:41:35 +0000
committerLinus Torvalds <[email protected]>2011-03-01 01:46:49 +0000
commitfbd71844852c9458bf73c7cbdae7189c2d4b377c (patch)
tree30127c1231cff88df019fa775a630a1bb2374a31 /net/unix/af_unix.c
parentMerge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa... (diff)
downloadkernel-fbd71844852c9458bf73c7cbdae7189c2d4b377c.tar.gz
kernel-fbd71844852c9458bf73c7cbdae7189c2d4b377c.zip
mm: <asm-generic/pgtable.h> must include <linux/mm_types.h>
Commit e2cda3226481 ("thp: add pmd mangling generic functions") replaced some macros in <asm-generic/pgtable.h> with inline functions. If the functions are to be defined (not all architectures need them) then struct vm_area_struct must be defined first. So include <linux/mm_types.h>. Fixes a build failure seen in Debian: CC [M] drivers/media/dvb/mantis/mantis_pci.o In file included from arch/arm/include/asm/pgtable.h:460, from drivers/media/dvb/mantis/mantis_pci.c:25: include/asm-generic/pgtable.h: In function 'ptep_test_and_clear_young': include/asm-generic/pgtable.h:29: error: dereferencing pointer to incomplete type Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions