setup.c (20c7775aecea04d8ca322039969d49dcf568e0e9) | setup.c (05cdf457477d6603b207d91873f0a3d4c7f8c1cd) |
---|---|
1/* 2 * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> 3 * Copyright (C) 2007-2009 PetaLogix 4 * Copyright (C) 2006 Atmark Techno, Inc. 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file "COPYING" in the main directory of this archive 8 * for more details. 9 */ 10 11#include <linux/init.h> | 1/* 2 * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> 3 * Copyright (C) 2007-2009 PetaLogix 4 * Copyright (C) 2006 Atmark Techno, Inc. 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file "COPYING" in the main directory of this archive 8 * for more details. 9 */ 10 11#include <linux/init.h> |
12#include <linux/clk-provider.h> | 12#include <linux/of_clk.h> |
13#include <linux/clocksource.h> 14#include <linux/string.h> 15#include <linux/seq_file.h> 16#include <linux/cpu.h> 17#include <linux/initrd.h> 18#include <linux/console.h> 19#include <linux/debugfs.h> 20#include <linux/of_fdt.h> --- 164 unchanged lines hidden (view full) --- 185 186static int microblaze_debugfs_init(void) 187{ 188 of_debugfs_root = debugfs_create_dir("microblaze", NULL); 189 return 0; 190} 191arch_initcall(microblaze_debugfs_init); 192 | 13#include <linux/clocksource.h> 14#include <linux/string.h> 15#include <linux/seq_file.h> 16#include <linux/cpu.h> 17#include <linux/initrd.h> 18#include <linux/console.h> 19#include <linux/debugfs.h> 20#include <linux/of_fdt.h> --- 164 unchanged lines hidden (view full) --- 185 186static int microblaze_debugfs_init(void) 187{ 188 of_debugfs_root = debugfs_create_dir("microblaze", NULL); 189 return 0; 190} 191arch_initcall(microblaze_debugfs_init); 192 |
193# ifdef CONFIG_MMU | |
194static int __init debugfs_tlb(void) 195{ 196 debugfs_create_u32("tlb_skip", S_IRUGO, of_debugfs_root, &tlb_skip); 197 return 0; 198} 199device_initcall(debugfs_tlb); | 193static int __init debugfs_tlb(void) 194{ 195 debugfs_create_u32("tlb_skip", S_IRUGO, of_debugfs_root, &tlb_skip); 196 return 0; 197} 198device_initcall(debugfs_tlb); |
200# endif | |
201#endif | 199#endif |