diff options
author | Christoph Hellwig <hch@lst.de> | 2017-11-22 05:47:28 -0500 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2017-12-01 16:09:40 -0500 |
commit | 4db2b604c05afc3d2678fe01d3136c015df313ec (patch) | |
tree | f6c52c94168338a8d039f9582f591eb322d080de | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) |
move libgcc.h to include/linux
Introducing a new include/lib directory just for this file totally
messes up tab completion for include/linux, which is highly annoying.
Move it to include/linux where we have headers for all kinds of other
lib/ code as well.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
-rw-r--r-- | include/linux/libgcc.h (renamed from include/lib/libgcc.h) | 0 | ||||
-rw-r--r-- | lib/ashldi3.c | 2 | ||||
-rw-r--r-- | lib/ashrdi3.c | 2 | ||||
-rw-r--r-- | lib/cmpdi2.c | 2 | ||||
-rw-r--r-- | lib/lshrdi3.c | 2 | ||||
-rw-r--r-- | lib/muldi3.c | 2 | ||||
-rw-r--r-- | lib/ucmpdi2.c | 2 |
7 files changed, 6 insertions, 6 deletions
diff --git a/include/lib/libgcc.h b/include/linux/libgcc.h index 32e1e0f4b2d0..32e1e0f4b2d0 100644 --- a/include/lib/libgcc.h +++ b/include/linux/libgcc.h | |||
diff --git a/lib/ashldi3.c b/lib/ashldi3.c index 1b6087db95a5..3ffc46e3bb6c 100644 --- a/lib/ashldi3.c +++ b/lib/ashldi3.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include <linux/export.h> | 17 | #include <linux/export.h> |
18 | 18 | ||
19 | #include <lib/libgcc.h> | 19 | #include <linux/libgcc.h> |
20 | 20 | ||
21 | long long notrace __ashldi3(long long u, word_type b) | 21 | long long notrace __ashldi3(long long u, word_type b) |
22 | { | 22 | { |
diff --git a/lib/ashrdi3.c b/lib/ashrdi3.c index 2e67c97ac65a..ea054550f0e8 100644 --- a/lib/ashrdi3.c +++ b/lib/ashrdi3.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include <linux/export.h> | 17 | #include <linux/export.h> |
18 | 18 | ||
19 | #include <lib/libgcc.h> | 19 | #include <linux/libgcc.h> |
20 | 20 | ||
21 | long long notrace __ashrdi3(long long u, word_type b) | 21 | long long notrace __ashrdi3(long long u, word_type b) |
22 | { | 22 | { |
diff --git a/lib/cmpdi2.c b/lib/cmpdi2.c index 6d7ebf6c2b86..2250da7e503e 100644 --- a/lib/cmpdi2.c +++ b/lib/cmpdi2.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include <linux/export.h> | 17 | #include <linux/export.h> |
18 | 18 | ||
19 | #include <lib/libgcc.h> | 19 | #include <linux/libgcc.h> |
20 | 20 | ||
21 | word_type notrace __cmpdi2(long long a, long long b) | 21 | word_type notrace __cmpdi2(long long a, long long b) |
22 | { | 22 | { |
diff --git a/lib/lshrdi3.c b/lib/lshrdi3.c index 8e845f4bb65f..99cfa5721f2d 100644 --- a/lib/lshrdi3.c +++ b/lib/lshrdi3.c | |||
@@ -17,7 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/module.h> | 19 | #include <linux/module.h> |
20 | #include <lib/libgcc.h> | 20 | #include <linux/libgcc.h> |
21 | 21 | ||
22 | long long notrace __lshrdi3(long long u, word_type b) | 22 | long long notrace __lshrdi3(long long u, word_type b) |
23 | { | 23 | { |
diff --git a/lib/muldi3.c b/lib/muldi3.c index 88938543e10a..54c8b3123376 100644 --- a/lib/muldi3.c +++ b/lib/muldi3.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <linux/export.h> | 17 | #include <linux/export.h> |
18 | #include <lib/libgcc.h> | 18 | #include <linux/libgcc.h> |
19 | 19 | ||
20 | #define W_TYPE_SIZE 32 | 20 | #define W_TYPE_SIZE 32 |
21 | 21 | ||
diff --git a/lib/ucmpdi2.c b/lib/ucmpdi2.c index 49a53505c8e3..25ca2d4c1e19 100644 --- a/lib/ucmpdi2.c +++ b/lib/ucmpdi2.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
18 | #include <lib/libgcc.h> | 18 | #include <linux/libgcc.h> |
19 | 19 | ||
20 | word_type __ucmpdi2(unsigned long long a, unsigned long long b) | 20 | word_type __ucmpdi2(unsigned long long a, unsigned long long b) |
21 | { | 21 | { |