Olof Johansson fa226e4417 lib/genalloc.c: include vmalloc.h
[ Upstream commit 35004f2e55807a1a1491db24ab512dd2f770a130 ]

Fixes build break on most ARM/ARM64 defconfigs:

  lib/genalloc.c: In function 'gen_pool_add_virt':
  lib/genalloc.c:190:10: error: implicit declaration of function 'vzalloc_node'; did you mean 'kzalloc_node'?
  lib/genalloc.c:190:8: warning: assignment to 'struct gen_pool_chunk *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  lib/genalloc.c: In function 'gen_pool_destroy':
  lib/genalloc.c:254:3: error: implicit declaration of function 'vfree'; did you mean 'kfree'?

Fixes: 6862d2fc8185 ('lib/genalloc.c: use vzalloc_node() to allocate the bitmap')
Cc: Huang Shijie <sjhuang@iluvatar.ai>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexey Skidanov <alexey.skidanov@intel.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 15:27:03 +01:00
..
2014-10-09 11:35:48 +03:00
2019-07-10 09:56:43 +02:00
2015-07-27 14:06:24 +02:00
2015-11-23 09:44:58 +01:00
2015-05-28 11:31:52 +09:30
2015-10-05 04:49:54 +01:00
2019-04-27 09:33:59 +02:00
2014-04-30 19:49:37 +01:00
2012-10-06 03:04:57 +09:00
2019-12-05 15:27:03 +01:00
2014-08-06 18:01:25 -07:00
2016-09-24 10:07:43 +02:00
2016-03-03 15:07:24 -08:00
2014-08-08 15:57:25 -07:00
2018-12-13 09:21:28 +01:00
2015-02-12 18:54:15 -08:00
2014-06-25 17:45:43 -07:00
2015-09-08 14:35:59 -07:00
2015-02-12 18:54:16 -08:00
2019-02-08 11:25:31 +01:00
2015-03-23 22:12:08 -04:00
2015-06-25 17:00:40 -07:00
2019-04-27 09:33:54 +02:00
2018-12-17 21:55:16 +01:00
2013-04-29 18:28:42 -07:00