1 Mar 2011 04:59
mm: <asm-generic/pgtable.h> must include <linux/mm_types.h>
Linux Kernel Mailing List <linux-kernel <at> vger.kernel.org>
2011-03-01 03:59:01 GMT
2011-03-01 03:59:01 GMT
Gitweb: http://git.kernel.org/linus/fbd71844852c9458bf73c7cbdae7189c2d4b377c Commit: fbd71844852c9458bf73c7cbdae7189c2d4b377c Parent: 493f3358cb289ccf716c5a14fa5bb52ab75943e5 Author: Ben Hutchings <ben <at> decadent.org.uk> AuthorDate: Sun Feb 27 05:41:35 2011 +0000 Committer: Linus Torvalds <torvalds <at> linux-foundation.org> CommitDate: Mon Feb 28 17:46:49 2011 -0800 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 <ben <at> decadent.org.uk> Signed-off-by: Linus Torvalds <torvalds <at> linux-foundation.org> --- include/asm-generic/pgtable.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)(Continue reading)
RSS Feed