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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 9.4 KB |
Makefile | -rw-r--r-- | 351 bytes |
block_io.c | -rw-r--r-- | 2.4 KB |
console.c | -rw-r--r-- | 700 bytes |
hibernate.c | -rw-r--r-- | 23.1 KB |
main.c | -rw-r--r-- | 8.2 KB |
power.h | -rw-r--r-- | 6.9 KB |
poweroff.c | -rw-r--r-- | 980 bytes |
process.c | -rw-r--r-- | 4.1 KB |
snapshot.c | -rw-r--r-- | 59.3 KB |
suspend.c | -rw-r--r-- | 6.8 KB |
suspend_test.c | -rw-r--r-- | 5.0 KB |
swap.c | -rw-r--r-- | 22.6 KB |
user.c | -rw-r--r-- | 10.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...