Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234918
b: refs/heads/master
c: 939d578
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Feb 23, 2011
1 parent b05b755 commit 8bdfb12
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c2a941fadb57d157d59eec424674bd0c3a28788c
refs/heads/master: 939d578ecc62b07efeb186576ab190fe0b766501
7 changes: 7 additions & 0 deletions trunk/arch/x86/include/asm/olpc_ofw.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

#define OLPC_OFW_SIG 0x2057464F /* aka "OFW " */

#ifdef CONFIG_OLPC

extern bool olpc_ofw_is_installed(void);

/* run an OFW command by calling into the firmware */
Expand All @@ -24,6 +26,11 @@ extern void setup_olpc_ofw_pgd(void);
/* check if OFW was detected during boot */
extern bool olpc_ofw_present(void);

#else /* !CONFIG_OLPC */
static inline void olpc_ofw_detect(void) { }
static inline void setup_olpc_ofw_pgd(void) { }
#endif /* !CONFIG_OLPC */

#ifdef CONFIG_OF_PROMTREE
extern void olpc_dt_build_devicetree(void);
#else
Expand Down

0 comments on commit 8bdfb12

Please sign in to comment.