android: binder_alloc: Include asm/cacheflush.h after linux/ include files
authorGuenter Roeck <linux@roeck-us.net>
Mon, 23 Jul 2018 21:47:23 +0000 (14:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2018 12:23:00 +0000 (14:23 +0200)
commit1e81c57b598307c5611410fd357554ffacc6290d
tree9b5c7d0e5d45fc98955d61c12bf96a5cd2edc07f
parenta1c4d08b6b95a0e296285ee53cc1438b3f168f98
android: binder_alloc: Include asm/cacheflush.h after linux/ include files

If asm/cacheflush.h is included first, the following build warnings are
seen with sparc32 builds.

In file included from ./arch/sparc/include/asm/cacheflush.h:11:0,
from drivers/android/binder_alloc.c:20:
./arch/sparc/include/asm/cacheflush_32.h:40:37: warning:
'struct page' declared inside parameter list

Moving the asm/ include after linux/ includes fixes the problem.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder_alloc.c