Skip to content

Commit 4db2b60

Browse files
Christoph Hellwigpalmer-dabbelt
authored andcommitted
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>
1 parent 4fbd8d1 commit 4db2b60

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed
File renamed without changes.

lib/ashldi3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#include <linux/export.h>
1818

19-
#include <lib/libgcc.h>
19+
#include <linux/libgcc.h>
2020

2121
long long notrace __ashldi3(long long u, word_type b)
2222
{

lib/ashrdi3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#include <linux/export.h>
1818

19-
#include <lib/libgcc.h>
19+
#include <linux/libgcc.h>
2020

2121
long long notrace __ashrdi3(long long u, word_type b)
2222
{

lib/cmpdi2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#include <linux/export.h>
1818

19-
#include <lib/libgcc.h>
19+
#include <linux/libgcc.h>
2020

2121
word_type notrace __cmpdi2(long long a, long long b)
2222
{

lib/lshrdi3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
#include <linux/module.h>
20-
#include <lib/libgcc.h>
20+
#include <linux/libgcc.h>
2121

2222
long long notrace __lshrdi3(long long u, word_type b)
2323
{

lib/muldi3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
#include <linux/export.h>
18-
#include <lib/libgcc.h>
18+
#include <linux/libgcc.h>
1919

2020
#define W_TYPE_SIZE 32
2121

lib/ucmpdi2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
#include <linux/module.h>
18-
#include <lib/libgcc.h>
18+
#include <linux/libgcc.h>
1919

2020
word_type __ucmpdi2(unsigned long long a, unsigned long long b)
2121
{

0 commit comments

Comments
 (0)