参照元

説明

参考

実装

#ifdef MULTI_CACHE
struct cpu_cache_fns cpu_cache __read_mostly;
#endif

シンボルエクスポート: arch/arm/mm/proc-syms.c

#ifndef MULTI_CACHE
...
#else
EXPORT_SYMBOL(cpu_cache);
#endif

初期化処理: arch/arm/kernel/setup.c

static void __init setup_processor(void)
{
        struct proc_info_list *list;
...

#ifdef MULTI_CACHE
        cpu_cache = *list->cache;
#endif

コメント


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2016-03-31 (木) 19:08:00