]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch:unicore32:mm: add devmem_is_allowed() to support STRICT_DEVMEM
authorChen Gang <gang.chen.5i5j@gmail.com>
Tue, 15 Apr 2014 01:21:30 +0000 (09:21 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Thu, 29 May 2014 06:54:05 +0000 (14:54 +0800)
commit197ef33f3d53c3e10ad886aeb67e4d4293d63f2c
tree9f81198a08635a7d44b8c510ffdaa2210de6650b
parent5d8c9cc219a05eaadb49ed59ffa2fe10a95aedc3
arch:unicore32:mm: add devmem_is_allowed() to support STRICT_DEVMEM

unicore32 supports STRICT_DEVMEM, so it needs devmem_is_allowed(), like
some of other architectures have done (e.g. arm, powerpc, x86 ...).

The related error with allmodconfig:

    CC      drivers/char/mem.o
  drivers/char/mem.c: In function â\80\98range_is_allowedâ\80\99:
  drivers/char/mem.c:69: error: implicit declaration of function â\80\98devmem_is_allowedâ\80\99
  make[2]: *** [drivers/char/mem.o] Error 1
  make[1]: *** [drivers/char] Error 2
  make: *** [drivers] Error 2

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
arch/unicore32/include/asm/io.h