diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-29 15:26:40 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-30 11:30:00 -0500 |
commit | e7996a9a77fc669387da43ff4823b91cc4872bd0 (patch) | |
tree | 617f0a128e222539d67e8cccc359f1bc4b984900 /arch/mips/lib/libgcc.h | |
parent | b5fa635aab8f0d39a824c01991266a6d06f007fb (diff) | |
parent | d8a5b80568a9cb66810e75b182018e9edb68e8ff (diff) |
Merge tag v4.15 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
To resolve conflicts in:
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/qp.c
From patches merged into the -rc cycle. The conflict resolution matches
what linux-next has been carrying.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'arch/mips/lib/libgcc.h')
-rw-r--r-- | arch/mips/lib/libgcc.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/mips/lib/libgcc.h b/arch/mips/lib/libgcc.h index 28002ed90c2c..199a7f96282f 100644 --- a/arch/mips/lib/libgcc.h +++ b/arch/mips/lib/libgcc.h | |||
@@ -10,10 +10,18 @@ typedef int word_type __attribute__ ((mode (__word__))); | |||
10 | struct DWstruct { | 10 | struct DWstruct { |
11 | int high, low; | 11 | int high, low; |
12 | }; | 12 | }; |
13 | |||
14 | struct TWstruct { | ||
15 | long long high, low; | ||
16 | }; | ||
13 | #elif defined(__LITTLE_ENDIAN) | 17 | #elif defined(__LITTLE_ENDIAN) |
14 | struct DWstruct { | 18 | struct DWstruct { |
15 | int low, high; | 19 | int low, high; |
16 | }; | 20 | }; |
21 | |||
22 | struct TWstruct { | ||
23 | long long low, high; | ||
24 | }; | ||
17 | #else | 25 | #else |
18 | #error I feel sick. | 26 | #error I feel sick. |
19 | #endif | 27 | #endif |
@@ -23,4 +31,13 @@ typedef union { | |||
23 | long long ll; | 31 | long long ll; |
24 | } DWunion; | 32 | } DWunion; |
25 | 33 | ||
34 | #if defined(CONFIG_64BIT) && defined(CONFIG_CPU_MIPSR6) | ||
35 | typedef int ti_type __attribute__((mode(TI))); | ||
36 | |||
37 | typedef union { | ||
38 | struct TWstruct s; | ||
39 | ti_type ti; | ||
40 | } TWunion; | ||
41 | #endif | ||
42 | |||
26 | #endif /* __ASM_LIBGCC_H */ | 43 | #endif /* __ASM_LIBGCC_H */ |