Commit 4db2b604 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Palmer Dabbelt

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parent 4fbd8d19
...@@ -16,7 +16,7 @@ ...@@ -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)
{ {
......
...@@ -16,7 +16,7 @@ ...@@ -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)
{ {
......
...@@ -16,7 +16,7 @@ ...@@ -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)
{ {
......
...@@ -17,7 +17,7 @@ ...@@ -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)
{ {
......
...@@ -15,7 +15,7 @@ ...@@ -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
......
...@@ -15,7 +15,7 @@ ...@@ -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)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment