Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v3.15-rc8 31 lines 811 B view raw
1/* 2 * arch/arm/include/asm/prom.h 3 * 4 * Copyright (C) 2009 Canonical Ltd. <jeremy.kerr@canonical.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 * 10 */ 11#ifndef __ASMARM_PROM_H 12#define __ASMARM_PROM_H 13 14#ifdef CONFIG_OF 15 16extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys); 17extern void arm_dt_memblock_reserve(void); 18extern void __init arm_dt_init_cpu_maps(void); 19 20#else /* CONFIG_OF */ 21 22static inline const struct machine_desc *setup_machine_fdt(unsigned int dt_phys) 23{ 24 return NULL; 25} 26 27static inline void arm_dt_memblock_reserve(void) { } 28static inline void arm_dt_init_cpu_maps(void) { } 29 30#endif /* CONFIG_OF */ 31#endif /* ASMARM_PROM_H */