92543fd756
flush_icache_range() is '__cpuc_coherent_kern_range' under unicore32, and lkdtm.ko needs it. At present, '__cpuc_coherent_kern_range' is still used by unicore32, so export it to avoid compiling failure. The related error (with allmodconfig under unicore32): ERROR: "__cpuc_coherent_kern_range" [drivers/misc/lkdtm.ko] undefined! 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>
26 lines
645 B
C
26 lines
645 B
C
/*
|
|
* linux/arch/unicore32/mm/proc-syms.c
|
|
*
|
|
* Code specific to PKUnity SoC and UniCore ISA
|
|
*
|
|
* Copyright (C) 2001-2010 GUAN Xue-tao
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#include <linux/module.h>
|
|
#include <linux/mm.h>
|
|
|
|
#include <asm/cacheflush.h>
|
|
#include <asm/tlbflush.h>
|
|
#include <asm/page.h>
|
|
|
|
EXPORT_SYMBOL(cpu_dcache_clean_area);
|
|
EXPORT_SYMBOL(cpu_set_pte);
|
|
|
|
EXPORT_SYMBOL(__cpuc_coherent_kern_range);
|
|
|
|
EXPORT_SYMBOL(__cpuc_dma_flush_range);
|
|
EXPORT_SYMBOL(__cpuc_dma_clean_range);
|