Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
13c9d5a6
Commit
13c9d5a6
authored
Oct 14, 2010
by
Chris Metcalf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch/tile: properly export __mb_incoherent for modules
Signed-off-by:
Chris Metcalf
<
cmetcalf@tilera.com
>
parent
bbacff94
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
arch/tile/include/asm/system.h
arch/tile/include/asm/system.h
+4
-1
arch/tile/lib/exports.c
arch/tile/lib/exports.c
+3
-0
No files found.
arch/tile/include/asm/system.h
View file @
13c9d5a6
...
@@ -89,6 +89,10 @@
...
@@ -89,6 +89,10 @@
#define get_cycles_low() __insn_mfspr(SPR_CYCLE)
/* just get all 64 bits */
#define get_cycles_low() __insn_mfspr(SPR_CYCLE)
/* just get all 64 bits */
#endif
#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. */
/* Fence to guarantee visibility of stores to incoherent memory. */
static
inline
void
static
inline
void
mb_incoherent
(
void
)
mb_incoherent
(
void
)
...
@@ -97,7 +101,6 @@ mb_incoherent(void)
...
@@ -97,7 +101,6 @@ mb_incoherent(void)
#if !CHIP_HAS_MF_WAITS_FOR_VICTIMS()
#if !CHIP_HAS_MF_WAITS_FOR_VICTIMS()
{
{
int
__mb_incoherent
(
void
);
#if CHIP_HAS_TILE_WRITE_PENDING()
#if CHIP_HAS_TILE_WRITE_PENDING()
const
unsigned
long
WRITE_TIMEOUT_CYCLES
=
400
;
const
unsigned
long
WRITE_TIMEOUT_CYCLES
=
400
;
unsigned
long
start
=
get_cycles_low
();
unsigned
long
start
=
get_cycles_low
();
...
...
arch/tile/lib/exports.c
View file @
13c9d5a6
...
@@ -45,6 +45,9 @@ EXPORT_SYMBOL(__copy_from_user_zeroing);
...
@@ -45,6 +45,9 @@ EXPORT_SYMBOL(__copy_from_user_zeroing);
EXPORT_SYMBOL
(
__copy_in_user_inatomic
);
EXPORT_SYMBOL
(
__copy_in_user_inatomic
);
#endif
#endif
/* arch/tile/lib/mb_incoherent.S */
EXPORT_SYMBOL
(
__mb_incoherent
);
/* hypervisor glue */
/* hypervisor glue */
#include <hv/hypervisor.h>
#include <hv/hypervisor.h>
EXPORT_SYMBOL
(
hv_dev_open
);
EXPORT_SYMBOL
(
hv_dev_open
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment