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
ad1816a
ad1848
cs423x
es1688
galaxy
gus
msnd
opti9xx
sb
wavefront
wss
Kconfig -rw-r--r-- 12.1 KB
Makefile -rw-r--r-- 784 bytes
adlib.c -rw-r--r-- 2.9 KB
als100.c -rw-r--r-- 10.5 KB
azt2320.c -rw-r--r-- 9.7 KB
cmi8330.c -rw-r--r-- 22.7 KB
es18xx.c -rw-r--r-- 69.3 KB
opl3sa2.c -rw-r--r-- 29.2 KB
sc6000.c -rw-r--r-- 18.2 KB
sscape.c -rw-r--r-- 32.9 KB

back to top