diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-s390/hardirq.h | 14 | ||||
-rw-r--r-- | include/asm-s390/ipl.h | 3 | ||||
-rw-r--r-- | include/asm-s390/schid.h | 1 | ||||
-rw-r--r-- | include/asm-s390/setup.h | 1 | ||||
-rw-r--r-- | include/asm-s390/unistd.h | 8 | ||||
-rw-r--r-- | include/linux/page-flags.h | 3 |
6 files changed, 24 insertions, 6 deletions
diff --git a/include/asm-s390/hardirq.h b/include/asm-s390/hardirq.h index 4b7cb964ff35..89ec7056da28 100644 --- a/include/asm-s390/hardirq.h +++ b/include/asm-s390/hardirq.h | |||
@@ -34,4 +34,18 @@ typedef struct { | |||
34 | 34 | ||
35 | void clock_comparator_work(void); | 35 | void clock_comparator_work(void); |
36 | 36 | ||
37 | static inline unsigned long long local_tick_disable(void) | ||
38 | { | ||
39 | unsigned long long old; | ||
40 | |||
41 | old = S390_lowcore.clock_comparator; | ||
42 | S390_lowcore.clock_comparator = -1ULL; | ||
43 | return old; | ||
44 | } | ||
45 | |||
46 | static inline void local_tick_enable(unsigned long long comp) | ||
47 | { | ||
48 | S390_lowcore.clock_comparator = comp; | ||
49 | } | ||
50 | |||
37 | #endif /* __ASM_HARDIRQ_H */ | 51 | #endif /* __ASM_HARDIRQ_H */ |
diff --git a/include/asm-s390/ipl.h b/include/asm-s390/ipl.h index eaca6dff5405..1171e6d144a3 100644 --- a/include/asm-s390/ipl.h +++ b/include/asm-s390/ipl.h | |||
@@ -159,7 +159,8 @@ enum diag308_vm_flags { | |||
159 | }; | 159 | }; |
160 | 160 | ||
161 | enum diag308_rc { | 161 | enum diag308_rc { |
162 | DIAG308_RC_OK = 1, | 162 | DIAG308_RC_OK = 0x0001, |
163 | DIAG308_RC_NOCONFIG = 0x0102, | ||
163 | }; | 164 | }; |
164 | 165 | ||
165 | extern int diag308(unsigned long subcode, void *addr); | 166 | extern int diag308(unsigned long subcode, void *addr); |
diff --git a/include/asm-s390/schid.h b/include/asm-s390/schid.h index 7bdc0fe15691..825503cf3dc2 100644 --- a/include/asm-s390/schid.h +++ b/include/asm-s390/schid.h | |||
@@ -11,6 +11,7 @@ struct subchannel_id { | |||
11 | } __attribute__ ((packed, aligned(4))); | 11 | } __attribute__ ((packed, aligned(4))); |
12 | 12 | ||
13 | #ifdef __KERNEL__ | 13 | #ifdef __KERNEL__ |
14 | #include <linux/string.h> | ||
14 | 15 | ||
15 | /* Helper function for sane state of pre-allocated subchannel_id. */ | 16 | /* Helper function for sane state of pre-allocated subchannel_id. */ |
16 | static inline void | 17 | static inline void |
diff --git a/include/asm-s390/setup.h b/include/asm-s390/setup.h index 4ba14e463e83..2bd9faeb3919 100644 --- a/include/asm-s390/setup.h +++ b/include/asm-s390/setup.h | |||
@@ -65,7 +65,6 @@ extern unsigned long machine_flags; | |||
65 | 65 | ||
66 | #define MACHINE_FLAG_VM (1UL << 0) | 66 | #define MACHINE_FLAG_VM (1UL << 0) |
67 | #define MACHINE_FLAG_IEEE (1UL << 1) | 67 | #define MACHINE_FLAG_IEEE (1UL << 1) |
68 | #define MACHINE_FLAG_P390 (1UL << 2) | ||
69 | #define MACHINE_FLAG_CSP (1UL << 3) | 68 | #define MACHINE_FLAG_CSP (1UL << 3) |
70 | #define MACHINE_FLAG_MVPG (1UL << 4) | 69 | #define MACHINE_FLAG_MVPG (1UL << 4) |
71 | #define MACHINE_FLAG_DIAG44 (1UL << 5) | 70 | #define MACHINE_FLAG_DIAG44 (1UL << 5) |
diff --git a/include/asm-s390/unistd.h b/include/asm-s390/unistd.h index 583da807ea97..c8ad350d1444 100644 --- a/include/asm-s390/unistd.h +++ b/include/asm-s390/unistd.h | |||
@@ -259,7 +259,13 @@ | |||
259 | #define __NR_timerfd_create 319 | 259 | #define __NR_timerfd_create 319 |
260 | #define __NR_timerfd_settime 320 | 260 | #define __NR_timerfd_settime 320 |
261 | #define __NR_timerfd_gettime 321 | 261 | #define __NR_timerfd_gettime 321 |
262 | #define NR_syscalls 322 | 262 | #define __NR_signalfd4 322 |
263 | #define __NR_eventfd2 323 | ||
264 | #define __NR_inotify_init1 324 | ||
265 | #define __NR_pipe2 325 | ||
266 | #define __NR_dup3 326 | ||
267 | #define __NR_epoll_create1 327 | ||
268 | #define NR_syscalls 328 | ||
263 | 269 | ||
264 | /* | 270 | /* |
265 | * There are some system calls that are not present on 64 bit, some | 271 | * There are some system calls that are not present on 64 bit, some |
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 54590a9a103e..25aaccdb2f26 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h | |||
@@ -239,9 +239,6 @@ static inline void __SetPageUptodate(struct page *page) | |||
239 | { | 239 | { |
240 | smp_wmb(); | 240 | smp_wmb(); |
241 | __set_bit(PG_uptodate, &(page)->flags); | 241 | __set_bit(PG_uptodate, &(page)->flags); |
242 | #ifdef CONFIG_S390 | ||
243 | page_clear_dirty(page); | ||
244 | #endif | ||
245 | } | 242 | } |
246 | 243 | ||
247 | static inline void SetPageUptodate(struct page *page) | 244 | static inline void SetPageUptodate(struct page *page) |