]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/unicore32/kernel/module.c: use __vmalloc_node_range() instead of __vmalloc_area()
authorChen Gang <gang.chen.5i5j@gmail.com>
Fri, 14 Mar 2014 00:49:27 +0000 (08:49 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Thu, 29 May 2014 06:49:04 +0000 (14:49 +0800)
commitd0a525580b4ac38fd809cdb87603f1cb165d957c
treec60daef54851335c26952500ba8b6494a5da29be
parent8d67052076380fa8d5b7c7780f2ae203df06a505
arch/unicore32/kernel/module.c: use __vmalloc_node_range() instead of __vmalloc_area()

__vmalloc_area() has already been removed from upstream kernel, need
use __vmalloc_node_range() instead of.

The related commit: "d0a2126 mm: unify module_alloc code for vmalloc".

The related error (allmodconfig for unicore32):

    CC      arch/unicore32/kernel/module.o
  arch/unicore32/kernel/module.c: In function 'module_alloc' :
  arch/unicore32/kernel/module.c:34: error: implicit declaration of function '__vmalloc_area'
  arch/unicore32/kernel/module.c:34: warning: return makes pointer from integer without a cast
  make[1]: *** [arch/unicore32/kernel/module.o] Error 1
  make: *** [arch/unicore32/kernel] 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/kernel/module.c