]> git.baikalelectronics.ru Git - kernel.git/commit
m32r: fix build failure
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 23 May 2016 23:22:23 +0000 (16:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 May 2016 00:04:14 +0000 (17:04 -0700)
commit1901ee3fecb67d95900ef3893b3da5252d5c0d69
tree5239eb88563351a5d02d594126a88b26d9a91445
parent32bdd134027d49331b028f687928fefb463c0505
m32r: fix build failure

m32r allmodconfig build was failing with the error:

  ERROR: "smp_flush_cache_all" [drivers/misc/lkdtm.ko] undefined!

lkdtm driver at drivers/misc is using flush_icache_range() which for
m32r is defined as smp_flush_cache_all() if CONFIG_SMP is defined.  But
as smp_flush_cache_all() was not exported so the build was failing with
the error of undefined symbol.

Link: http://lkml.kernel.org/r/1464001182-8329-1-git-send-email-sudipm.mukherjee@gmail.com
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/kernel/smp.c