blob: a74a5f9c933243a60a8afeb4eeabbd1722068957 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
From b499fe614ac5b492fc0fdc6e1fbbeeb904674159 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@uclibc-ng.org>
Date: Wed, 3 Feb 2016 21:57:04 +0100
Subject: [PATCH] mips: fix build if threads are disabled
Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
---
libc/string/mips/memcpy.S | 4 ++--
libc/string/mips/memset.S | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libc/string/mips/memcpy.S b/libc/string/mips/memcpy.S
index 3afdb2c..59f9f0a 100644
--- a/libc/string/mips/memcpy.S
+++ b/libc/string/mips/memcpy.S
@@ -23,7 +23,7 @@
# define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE
#elif _LIBC
# include <sysdep.h>
-# include <regdef.h>
+# include <sys/regdef.h>
# include <sys/asm.h>
# define PREFETCH_LOAD_HINT PREFETCH_HINT_LOAD_STREAMED
# define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE
@@ -33,7 +33,7 @@
# define PREFETCH_LOAD_HINT PREFETCH_HINT_LOAD_STREAMED
# define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE
#else
-# include <regdef.h>
+# include <sys/regdef.h>
# include <sys/asm.h>
#endif
diff --git a/libc/string/mips/memset.S b/libc/string/mips/memset.S
index ef8ab0b..43034ce 100644
--- a/libc/string/mips/memset.S
+++ b/libc/string/mips/memset.S
@@ -21,7 +21,7 @@
# define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE
#elif _LIBC
# include <sysdep.h>
-# include <regdef.h>
+# include <sys/regdef.h>
# include <sys/asm.h>
# define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE
#elif defined _COMPILING_NEWLIB
@@ -29,7 +29,7 @@
# include "machine/regdef.h"
# define PREFETCH_STORE_HINT PREFETCH_HINT_PREPAREFORSTORE
#else
-# include <regdef.h>
+# include <sys/regdef.h>
# include <sys/asm.h>
#endif
--
1.7.10.4
|