]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: make get_fb_unmapped_area depends of !MMU
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Wed, 12 Jul 2017 16:28:11 +0000 (18:28 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 12 Jul 2017 16:28:11 +0000 (18:28 +0200)
commit6ca761784010f488bdc78baad8f595c621ed54f1
tree1227a534053aca270657f17e660a28c16b026b48
parente4c6bbc148790370563cd67c85cd3f718ff50594
fbdev: make get_fb_unmapped_area depends of !MMU

Even if CONFIG_FB_PROVIDE_GET_FB_UNMAPPED_AREA flag is selected
do not compile and use get_fb_unmapped_area() if CONFIG_MMU is
also set. This will avoid mmap errors when compiling multi
architectures at same time.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Noralf Trønnes <noralf@tronnes.org>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Cc: Yannick Fertre <yannick.fertre@st.com>
Cc: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/core/fbmem.c