提交 4db2b604 编写于 作者: C Christoph Hellwig 提交者: 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: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NPalmer Dabbelt <palmer@sifive.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册