summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/prom.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-05 05:12:20 +0100
committerDavid S. Miller <davem@davemloft.net>2008-12-06 01:44:29 +0100
commit657f201df693c26d294f6c789b8a87cd8c16eb53 (patch)
tree15af6320017965d395a916170aec2d9dfee9503a /arch/sparc/kernel/prom.h
parentsparc: unify kernel/init_task (diff)
downloadlinux-657f201df693c26d294f6c789b8a87cd8c16eb53.tar.xz
linux-657f201df693c26d294f6c789b8a87cd8c16eb53.zip
sparc: Create common header file for prom_{32,64}.c
This is where common declarations will go as we unify these files as much as possible into common code. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/prom.h')
-rw-r--r--arch/sparc/kernel/prom.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sparc/kernel/prom.h b/arch/sparc/kernel/prom.h
new file mode 100644
index 000000000000..dce53de274e8
--- /dev/null
+++ b/arch/sparc/kernel/prom.h
@@ -0,0 +1,10 @@
+#ifndef __PROM_H
+#define __PROM_H
+
+#include <linux/spinlock.h>
+#include <asm/prom.h>
+
+extern struct device_node *allnodes; /* temporary while merging */
+extern rwlock_t devtree_lock; /* temporary while merging */
+
+#endif /* __PROM_H */