https://github.com/torvalds/linux
Revision df8e4c7d8d756d93da676b532c39f8d1d9ceab77 authored by Chen Gang on 14 March 2014, 00:49:27 UTC, committed by Guan Xuetao on 20 June 2014, 00:22:37 UTC
__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>
1 parent 4877b60
History
Tip revision: df8e4c7d8d756d93da676b532c39f8d1d9ceab77 authored by Chen Gang on 14 March 2014, 00:49:27 UTC
arch/unicore32/kernel/module.c: use __vmalloc_node_range() instead of __vmalloc_area()
Tip revision: df8e4c7

back to top