Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217612
b: refs/heads/master
c: 13c9d5a
h: refs/heads/master
v: v3
  • Loading branch information
Chris Metcalf committed Oct 14, 2010
1 parent 5e34344 commit edb6f63
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bbacff94d0c38163ef01361de006797c92e69e58
refs/heads/master: 13c9d5a6309763a494f7c3ed5aa45fb473985fd7
5 changes: 4 additions & 1 deletion trunk/arch/tile/include/asm/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@
#define get_cycles_low() __insn_mfspr(SPR_CYCLE) /* just get all 64 bits */
#endif

#if !CHIP_HAS_MF_WAITS_FOR_VICTIMS()
int __mb_incoherent(void); /* Helper routine for mb_incoherent(). */
#endif

/* Fence to guarantee visibility of stores to incoherent memory. */
static inline void
mb_incoherent(void)
Expand All @@ -97,7 +101,6 @@ mb_incoherent(void)

#if !CHIP_HAS_MF_WAITS_FOR_VICTIMS()
{
int __mb_incoherent(void);
#if CHIP_HAS_TILE_WRITE_PENDING()
const unsigned long WRITE_TIMEOUT_CYCLES = 400;
unsigned long start = get_cycles_low();
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/tile/lib/exports.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ EXPORT_SYMBOL(__copy_from_user_zeroing);
EXPORT_SYMBOL(__copy_in_user_inatomic);
#endif

/* arch/tile/lib/mb_incoherent.S */
EXPORT_SYMBOL(__mb_incoherent);

/* hypervisor glue */
#include <hv/hypervisor.h>
EXPORT_SYMBOL(hv_dev_open);
Expand Down

0 comments on commit edb6f63

Please sign in to comment.