Skip to content

Commit bac7421

Browse files
committed
thread_tag only needed for devkitARM
1 parent c226f21 commit bac7421

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

newlib/libc/machine/aarch64/sys/lock.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ typedef uint32_t _LOCK_T;
88

99
struct __lock_t {
1010
_LOCK_T lock;
11-
uint32_t thread_tag;
1211
uint32_t counter;
1312
};
1413

@@ -17,7 +16,7 @@ typedef struct __lock_t _LOCK_RECURSIVE_T;
1716
typedef uint32_t _COND_T;
1817

1918
#define __LOCK_INITIALIZER ((_LOCK_T)0)
20-
#define __LOCK_INITIALIZER_RECURSIVE ((_LOCK_RECURSIVE_T){__LOCK_INITIALIZER,0,0})
19+
#define __LOCK_INITIALIZER_RECURSIVE ((_LOCK_RECURSIVE_T){__LOCK_INITIALIZER,0})
2120
#define __COND_INITIALIZER ((_COND_T)0)
2221

2322
#ifdef __cplusplus

newlib/libc/machine/powerpc/sys/lock.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ typedef uint32_t _LOCK_T;
88

99
struct __lock_t {
1010
_LOCK_T lock;
11-
uint32_t thread_tag;
1211
uint32_t counter;
1312
};
1413

@@ -17,7 +16,7 @@ typedef struct __lock_t _LOCK_RECURSIVE_T;
1716
typedef uint32_t _COND_T;
1817

1918
#define __LOCK_INITIALIZER ((_LOCK_T)0)
20-
#define __LOCK_INITIALIZER_RECURSIVE ((_LOCK_RECURSIVE_T){__LOCK_INITIALIZER,0,0})
19+
#define __LOCK_INITIALIZER_RECURSIVE ((_LOCK_RECURSIVE_T){__LOCK_INITIALIZER,0})
2120
#define __COND_INITIALIZER ((_COND_T)0)
2221

2322
#ifdef __cplusplus

0 commit comments

Comments
 (0)