Revision fbd71844852c9458bf73c7cbdae7189c2d4b377c authored by Ben Hutchings on 27 February 2011, 05:41:35 UTC, committed by Linus Torvalds on 01 March 2011, 01:46:49 UTC
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@decadent.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 493f335
History
File Mode Size
Kconfig -rw-r--r-- 2.0 KB
Makefile -rw-r--r-- 777 bytes
efika-audio-fabric.c -rw-r--r-- 2.1 KB
fsl_dma.c -rw-r--r-- 31.4 KB
fsl_dma.h -rw-r--r-- 4.7 KB
fsl_ssi.c -rw-r--r-- 22.2 KB
fsl_ssi.h -rw-r--r-- 7.9 KB
mpc5200_dma.c -rw-r--r-- 14.7 KB
mpc5200_dma.h -rw-r--r-- 2.2 KB
mpc5200_psc_ac97.c -rw-r--r-- 9.0 KB
mpc5200_psc_ac97.h -rw-r--r-- 299 bytes
mpc5200_psc_i2s.c -rw-r--r-- 6.8 KB
mpc8610_hpcd.c -rw-r--r-- 17.0 KB
p1022_ds.c -rw-r--r-- 16.9 KB
pcm030-audio-fabric.c -rw-r--r-- 2.1 KB

back to top