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-- 4.1 KB
Makefile -rw-r--r-- 1.1 KB
bf5xx-ac97-pcm.c -rw-r--r-- 13.6 KB
bf5xx-ac97-pcm.h -rw-r--r-- 518 bytes
bf5xx-ac97.c -rw-r--r-- 11.0 KB
bf5xx-ac97.h -rw-r--r-- 1.6 KB
bf5xx-ad1836.c -rw-r--r-- 3.2 KB
bf5xx-ad193x.c -rw-r--r-- 3.9 KB
bf5xx-ad1980.c -rw-r--r-- 3.0 KB
bf5xx-ad73311.c -rw-r--r-- 6.1 KB
bf5xx-i2s-pcm.c -rw-r--r-- 8.1 KB
bf5xx-i2s-pcm.h -rw-r--r-- 515 bytes
bf5xx-i2s.c -rw-r--r-- 8.0 KB
bf5xx-sport.c -rw-r--r-- 25.4 KB
bf5xx-sport.h -rw-r--r-- 4.6 KB
bf5xx-ssm2602.c -rw-r--r-- 4.3 KB
bf5xx-tdm-pcm.c -rw-r--r-- 8.9 KB
bf5xx-tdm-pcm.h -rw-r--r-- 464 bytes
bf5xx-tdm.c -rw-r--r-- 8.8 KB
bf5xx-tdm.h -rw-r--r-- 496 bytes

back to top