1. 25 1月, 2020 1 次提交
  2. 23 1月, 2020 1 次提交
    • V
      tee: optee: Fix compilation issue with nommu · 9e0caab8
      Vincenzo Frascino 提交于
      The optee driver uses specific page table types to verify if a memory
      region is normal. These types are not defined in nommu systems. Trying
      to compile the driver in these systems results in a build error:
      
        linux/drivers/tee/optee/call.c: In function ‘is_normal_memory’:
        linux/drivers/tee/optee/call.c:533:26: error: ‘L_PTE_MT_MASK’ undeclared
           (first use in this function); did you mean ‘PREEMPT_MASK’?
           return (pgprot_val(p) & L_PTE_MT_MASK) == L_PTE_MT_WRITEALLOC;
                                   ^~~~~~~~~~~~~
                                   PREEMPT_MASK
        linux/drivers/tee/optee/call.c:533:26: note: each undeclared identifier is
           reported only once for each function it appears in
        linux/drivers/tee/optee/call.c:533:44: error: ‘L_PTE_MT_WRITEALLOC’ undeclared
           (first use in this function)
           return (pgprot_val(p) & L_PTE_MT_MASK) == L_PTE_MT_WRITEALLOC;
                                                  ^~~~~~~~~~~~~~~~~~~
      
      Make the optee driver depend on MMU to fix the compilation issue.
      Signed-off-by: NVincenzo Frascino <vincenzo.frascino@arm.com>
      [jw: update commit title]
      Signed-off-by: NJens Wiklander <jens.wiklander@linaro.org>
      9e0caab8
  3. 17 1月, 2020 1 次提交
  4. 11 1月, 2020 4 次提交
  5. 09 1月, 2020 9 次提交
  6. 08 1月, 2020 7 次提交
  7. 07 1月, 2020 4 次提交
  8. 06 1月, 2020 1 次提交
  9. 03 1月, 2020 1 次提交
  10. 23 12月, 2019 6 次提交
  11. 19 12月, 2019 1 次提交
  12. 18 12月, 2019 4 次提交
新手
引导
客服 返回
顶部