linux/drivers/tee/optee
Arnd Bergmann f681e08f67 tee: optee: fix header dependencies
The optee driver includes the header files in an unusual order,
with asm/pgtable.h before the linux/*.h headers. For some reason
this seems to trigger a build failure:

drivers/tee/optee/call.c: In function 'optee_fill_pages_list':
include/asm-generic/memory_model.h:64:14: error: implicit declaration of function 'page_to_section'; did you mean '__nr_to_section'? [-Werror=implicit-function-declaration]
  int __sec = page_to_section(__pg);   \
drivers/tee/optee/call.c:494:15: note: in expansion of macro 'page_to_phys'
  optee_page = page_to_phys(*pages) +

Let's just include linux/mm.h, which will then get the other
header implicitly.

Fixes: 3bb48ba5cd ("tee: optee: add page list manipulation functions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-12-21 21:18:25 +01:00
..
call.c tee: optee: fix header dependencies 2017-12-21 21:18:25 +01:00
core.c This pull request enables dynamic shared memory support in the TEE 2017-12-21 17:23:52 +01:00
Kconfig
Makefile tee: optee: add optee-specific shared pool implementation 2017-12-15 13:36:17 +01:00
optee_msg.h tee: optee: Update protocol definitions 2017-12-15 13:32:31 +01:00
optee_private.h This pull request enables dynamic shared memory support in the TEE 2017-12-21 17:23:52 +01:00
optee_smc.h tee: optee: Update protocol definitions 2017-12-15 13:32:31 +01:00
rpc.c This pull request enables dynamic shared memory support in the TEE 2017-12-21 17:23:52 +01:00
shm_pool.c tee: optee: add optee-specific shared pool implementation 2017-12-15 13:36:17 +01:00
shm_pool.h tee: optee: add optee-specific shared pool implementation 2017-12-15 13:36:17 +01:00
supp.c optee: support asynchronous supplicant requests 2017-11-29 10:37:13 +01:00