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
oss
seq
Kconfig -rw-r--r-- 5.9 KB
Makefile -rw-r--r-- 1007 bytes
control.c -rw-r--r-- 39.6 KB
control_compat.c -rw-r--r-- 11.3 KB
device.c -rw-r--r-- 6.5 KB
hrtimer.c -rw-r--r-- 4.1 KB
hwdep.c -rw-r--r-- 13.0 KB
hwdep_compat.c -rw-r--r-- 2.3 KB
info.c -rw-r--r-- 23.0 KB
info_oss.c -rw-r--r-- 3.9 KB
init.c -rw-r--r-- 23.5 KB
isadma.c -rw-r--r-- 3.0 KB
jack.c -rw-r--r-- 6.1 KB
memalloc.c -rw-r--r-- 13.4 KB
memory.c -rw-r--r-- 2.5 KB
misc.c -rw-r--r-- 3.9 KB
pcm.c -rw-r--r-- 31.9 KB
pcm_compat.c -rw-r--r-- 15.0 KB
pcm_lib.c -rw-r--r-- 59.5 KB
pcm_memory.c -rw-r--r-- 14.4 KB
pcm_misc.c -rw-r--r-- 12.3 KB
pcm_native.c -rw-r--r-- 93.9 KB
pcm_timer.c -rw-r--r-- 3.7 KB
rawmidi.c -rw-r--r-- 47.7 KB
rawmidi_compat.c -rw-r--r-- 3.5 KB
rtctimer.c -rw-r--r-- 4.1 KB
sgbuf.c -rw-r--r-- 3.5 KB
sound.c -rw-r--r-- 11.7 KB
sound_oss.c -rw-r--r-- 7.2 KB
timer.c -rw-r--r-- 50.8 KB
timer_compat.c -rw-r--r-- 3.5 KB
vmaster.c -rw-r--r-- 10.3 KB

back to top