aboutsummaryrefslogtreecommitdiff
path: root/libgloss/or1k/or1k-internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/or1k/or1k-internals.h')
-rw-r--r--libgloss/or1k/or1k-internals.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgloss/or1k/or1k-internals.h b/libgloss/or1k/or1k-internals.h
index 3aabdb0..d92c166 100644
--- a/libgloss/or1k/or1k-internals.h
+++ b/libgloss/or1k/or1k-internals.h
@@ -55,8 +55,8 @@ struct _or1k_reent {
#ifdef __OR1K_MULTICORE__
-extern struct _or1k_reent (*_or1k_reent)[];
-#define OR1K_REENT (*_or1k_reent)[or1k_coreid()]
+extern struct _or1k_reent *_or1k_reent;
+#define OR1K_REENT _or1k_reent[or1k_coreid()]
#else
extern struct _or1k_reent _or1k_reent;
#define OR1K_REENT _or1k_reent