Skip to content

Commit

Permalink
move libgcc.h to include/linux
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
  • Loading branch information
Christoph Hellwig authored and palmer-dabbelt committed Dec 1, 2017
1 parent 4fbd8d1 commit 4db2b60
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/ashldi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <linux/export.h>

#include <lib/libgcc.h>
#include <linux/libgcc.h>

long long notrace __ashldi3(long long u, word_type b)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/ashrdi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <linux/export.h>

#include <lib/libgcc.h>
#include <linux/libgcc.h>

long long notrace __ashrdi3(long long u, word_type b)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/cmpdi2.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <linux/export.h>

#include <lib/libgcc.h>
#include <linux/libgcc.h>

word_type notrace __cmpdi2(long long a, long long b)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/lshrdi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

#include <linux/module.h>
#include <lib/libgcc.h>
#include <linux/libgcc.h>

long long notrace __lshrdi3(long long u, word_type b)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/muldi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#include <linux/export.h>
#include <lib/libgcc.h>
#include <linux/libgcc.h>

#define W_TYPE_SIZE 32

Expand Down
2 changes: 1 addition & 1 deletion lib/ucmpdi2.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#include <linux/module.h>
#include <lib/libgcc.h>
#include <linux/libgcc.h>

word_type __ucmpdi2(unsigned long long a, unsigned long long b)
{
Expand Down

0 comments on commit 4db2b60

Please sign in to comment.