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>
This commit is contained in:
Christoph Hellwig 2017-11-22 11:47:28 +01:00 committed by Palmer Dabbelt
parent 4fbd8d194f
commit 4db2b604c0
7 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,7 @@
#include <linux/export.h> #include <linux/export.h>
#include <lib/libgcc.h> #include <linux/libgcc.h>
long long notrace __ashldi3(long long u, word_type b) long long notrace __ashldi3(long long u, word_type b)
{ {

View file

@ -16,7 +16,7 @@
#include <linux/export.h> #include <linux/export.h>
#include <lib/libgcc.h> #include <linux/libgcc.h>
long long notrace __ashrdi3(long long u, word_type b) long long notrace __ashrdi3(long long u, word_type b)
{ {

View file

@ -16,7 +16,7 @@
#include <linux/export.h> #include <linux/export.h>
#include <lib/libgcc.h> #include <linux/libgcc.h>
word_type notrace __cmpdi2(long long a, long long b) word_type notrace __cmpdi2(long long a, long long b)
{ {

View file

@ -17,7 +17,7 @@
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <lib/libgcc.h> #include <linux/libgcc.h>
long long notrace __lshrdi3(long long u, word_type b) long long notrace __lshrdi3(long long u, word_type b)
{ {

View file

@ -15,7 +15,7 @@
*/ */
#include <linux/export.h> #include <linux/export.h>
#include <lib/libgcc.h> #include <linux/libgcc.h>
#define W_TYPE_SIZE 32 #define W_TYPE_SIZE 32

View file

@ -15,7 +15,7 @@
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <lib/libgcc.h> #include <linux/libgcc.h>
word_type __ucmpdi2(unsigned long long a, unsigned long long b) word_type __ucmpdi2(unsigned long long a, unsigned long long b)
{ {