File tree Expand file tree Collapse file tree 4 files changed +11
-18
lines changed Expand file tree Collapse file tree 4 files changed +11
-18
lines changed Original file line number Diff line number Diff line change 8
8
#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
9
9
#define PAGE_MASK (~(PAGE_SIZE-1))
10
10
11
+ #define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
11
12
12
13
#ifndef __ASSEMBLY__
13
14
Original file line number Diff line number Diff line change 4
4
5
5
#include <uapi/asm/signal.h>
6
6
7
- #define _NSIG 64
8
- /* bits-per-word, where word apparently means 'long' not 'int' */
9
- #define _NSIG_BPW BITS_PER_LONG
10
- #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
11
-
12
7
# ifndef __ASSEMBLY__
13
8
14
9
/* Most things should be clean enough to redefine this at will, if care
15
10
is taken to make libc match. */
16
11
17
- typedef unsigned long old_sigset_t ; /* at least 32 bits */
18
-
19
- typedef struct {
20
- /* next_signal() assumes this is a long - no choice */
21
- unsigned long sig [_NSIG_WORDS ];
22
- } sigset_t ;
23
-
24
12
#include <asm/sigcontext.h>
25
13
26
14
#endif /* !__ASSEMBLY */
Original file line number Diff line number Diff line change 57
57
58
58
#include <asm-generic/signal-defs.h>
59
59
60
+ #define _NSIG 64
61
+ #define _NSIG_BPW (sizeof(unsigned long) * 8)
62
+ #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
63
+
60
64
# ifndef __ASSEMBLY__
61
65
62
66
# include <linux/types.h>
63
67
68
+ typedef unsigned long old_sigset_t ; /* at least 32 bits */
69
+
70
+ typedef struct {
71
+ unsigned long sig [_NSIG_WORDS ];
72
+ } sigset_t ;
73
+
64
74
/* Avoid too many header ordering problems. */
65
75
struct siginfo ;
66
76
Original file line number Diff line number Diff line change 26
26
27
27
#define FPUDEBUG 0
28
28
29
- /* Format of the floating-point exception registers. */
30
- struct exc_reg {
31
- unsigned int exception : 6 ;
32
- unsigned int ei : 26 ;
33
- };
34
-
35
29
/* Macros for grabbing bits of the instruction format from the 'ei'
36
30
field above. */
37
31
/* Major opcode 0c and 0e */
You can’t perform that action at this time.
0 commit comments