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
mpu401
opl3
opl4
pcsp
vx
Kconfig -rw-r--r-- 6.8 KB
Makefile -rw-r--r-- 788 bytes
aloop.c -rw-r--r-- 35.0 KB
dummy.c -rw-r--r-- 30.3 KB
ml403-ac97cr.c -rw-r--r-- 40.2 KB
mtpav.c -rw-r--r-- 20.0 KB
mts64.c -rw-r--r-- 26.8 KB
pcm-indirect2.c -rw-r--r-- 16.8 KB
pcm-indirect2.h -rw-r--r-- 5.1 KB
portman2x4.c -rw-r--r-- 25.3 KB
serial-u16550.c -rw-r--r-- 31.0 KB
virmidi.c -rw-r--r-- 5.6 KB

back to top