summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/prom.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/prom.h')
-rw-r--r--include/asm-sparc/prom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc/prom.h b/include/asm-sparc/prom.h
index 7032d02d3197..b4a061c5241d 100644
--- a/include/asm-sparc/prom.h
+++ b/include/asm-sparc/prom.h
@@ -69,6 +69,8 @@ struct device_node {
#define OF_IS_DYNAMIC(x) test_bit(OF_DYNAMIC, &x->_flags)
#define OF_MARK_DYNAMIC(x) set_bit(OF_DYNAMIC, &x->_flags)
+#define OF_BAD_ADDR ((u64)-1)
+
static inline void set_node_proc_entry(struct device_node *dn, struct proc_dir_entry *de)
{
dn->pde = de;
OpenPOWER on IntegriCloud