prom.h (cd4cd7306a403f62ef3ca783b9d1cf2a03e595ed) | prom.h (559e2b7ee7a1c7753d534abcb2742a4775339293) |
---|---|
1#include <linux/of.h> /* linux/of.h gets to determine #include ordering */ 2#ifndef _SPARC_PROM_H 3#define _SPARC_PROM_H 4#ifdef __KERNEL__ 5 6/* 7 * Definitions for talking to the Open Firmware PROM on 8 * Power Macintosh computers. --- 29 unchanged lines hidden (view full) --- 38extern int of_set_property(struct device_node *node, const char *name, void *val, int len); 39extern struct mutex of_set_property_mutex; 40extern int of_getintprop_default(struct device_node *np, 41 const char *name, 42 int def); 43extern int of_find_in_proplist(const char *list, const char *match, int len); 44#ifdef CONFIG_NUMA 45extern int of_node_to_nid(struct device_node *dp); | 1#include <linux/of.h> /* linux/of.h gets to determine #include ordering */ 2#ifndef _SPARC_PROM_H 3#define _SPARC_PROM_H 4#ifdef __KERNEL__ 5 6/* 7 * Definitions for talking to the Open Firmware PROM on 8 * Power Macintosh computers. --- 29 unchanged lines hidden (view full) --- 38extern int of_set_property(struct device_node *node, const char *name, void *val, int len); 39extern struct mutex of_set_property_mutex; 40extern int of_getintprop_default(struct device_node *np, 41 const char *name, 42 int def); 43extern int of_find_in_proplist(const char *list, const char *match, int len); 44#ifdef CONFIG_NUMA 45extern int of_node_to_nid(struct device_node *dp); |
46#else 47#define of_node_to_nid(dp) (-1) | 46#define of_node_to_nid of_node_to_nid |
48#endif 49 50extern void prom_build_devicetree(void); 51extern void of_populate_present_mask(void); 52extern void of_fill_in_cpu_data(void); 53 54struct resource; 55extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name); --- 20 unchanged lines hidden --- | 47#endif 48 49extern void prom_build_devicetree(void); 50extern void of_populate_present_mask(void); 51extern void of_fill_in_cpu_data(void); 52 53struct resource; 54extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name); --- 20 unchanged lines hidden --- |