diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-08-02 21:08:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-08-02 21:08:07 -0400 |
commit | d52bd54db8be8999df6df5a776f38c4f8b5e9cea (patch) | |
tree | 0d8f436e959bb975c002ddf12ea1bdc9adadd04f /arch/alpha | |
parent | 8cbdd85bda499d028b8f128191f392d701e8e41d (diff) | |
parent | 3bd080e4d8f2351ee3e143f0ec9307cc95ae6639 (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge yet more updates from Andrew Morton:
- the rest of ocfs2
- various hotfixes, mainly MM
- quite a bit of misc stuff - drivers, fork, exec, signals, etc.
- printk updates
- firmware
- checkpatch
- nilfs2
- more kexec stuff than usual
- rapidio updates
- w1 things
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (111 commits)
ipc: delete "nr_ipc_ns"
kcov: allow more fine-grained coverage instrumentation
init/Kconfig: add clarification for out-of-tree modules
config: add android config fragments
init/Kconfig: ban CONFIG_LOCALVERSION_AUTO with allmodconfig
relay: add global mode support for buffer-only channels
init: allow blacklisting of module_init functions
w1:omap_hdq: fix regression
w1: add helper macro module_w1_family
w1: remove need for ida and use PLATFORM_DEVID_AUTO
rapidio/switches: add driver for IDT gen3 switches
powerpc/fsl_rio: apply changes for RIO spec rev 3
rapidio: modify for rev.3 specification changes
rapidio: change inbound window size type to u64
rapidio/idt_gen2: fix locking warning
rapidio: fix error handling in mbox request/release functions
rapidio/tsi721_dma: advance queue processing from transfer submit call
rapidio/tsi721: add messaging mbox selector parameter
rapidio/tsi721: add PCIe MRRS override parameter
rapidio/tsi721_dma: add channel mask and queue size parameters
...
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/include/asm/thread_info.h | 27 | ||||
-rw-r--r-- | arch/alpha/kernel/machvec_impl.h | 2 |
2 files changed, 1 insertions, 28 deletions
diff --git a/arch/alpha/include/asm/thread_info.h b/arch/alpha/include/asm/thread_info.h index 32e920a83ae5..e9e90bfa2b50 100644 --- a/arch/alpha/include/asm/thread_info.h +++ b/arch/alpha/include/asm/thread_info.h | |||
@@ -86,33 +86,6 @@ register struct thread_info *__current_thread_info __asm__("$8"); | |||
86 | #define TS_UAC_NOPRINT 0x0001 /* ! Preserve the following three */ | 86 | #define TS_UAC_NOPRINT 0x0001 /* ! Preserve the following three */ |
87 | #define TS_UAC_NOFIX 0x0002 /* ! flags as they match */ | 87 | #define TS_UAC_NOFIX 0x0002 /* ! flags as they match */ |
88 | #define TS_UAC_SIGBUS 0x0004 /* ! userspace part of 'osf_sysinfo' */ | 88 | #define TS_UAC_SIGBUS 0x0004 /* ! userspace part of 'osf_sysinfo' */ |
89 | #define TS_RESTORE_SIGMASK 0x0008 /* restore signal mask in do_signal() */ | ||
90 | |||
91 | #ifndef __ASSEMBLY__ | ||
92 | #define HAVE_SET_RESTORE_SIGMASK 1 | ||
93 | static inline void set_restore_sigmask(void) | ||
94 | { | ||
95 | struct thread_info *ti = current_thread_info(); | ||
96 | ti->status |= TS_RESTORE_SIGMASK; | ||
97 | WARN_ON(!test_bit(TIF_SIGPENDING, (unsigned long *)&ti->flags)); | ||
98 | } | ||
99 | static inline void clear_restore_sigmask(void) | ||
100 | { | ||
101 | current_thread_info()->status &= ~TS_RESTORE_SIGMASK; | ||
102 | } | ||
103 | static inline bool test_restore_sigmask(void) | ||
104 | { | ||
105 | return current_thread_info()->status & TS_RESTORE_SIGMASK; | ||
106 | } | ||
107 | static inline bool test_and_clear_restore_sigmask(void) | ||
108 | { | ||
109 | struct thread_info *ti = current_thread_info(); | ||
110 | if (!(ti->status & TS_RESTORE_SIGMASK)) | ||
111 | return false; | ||
112 | ti->status &= ~TS_RESTORE_SIGMASK; | ||
113 | return true; | ||
114 | } | ||
115 | #endif | ||
116 | 89 | ||
117 | #define SET_UNALIGN_CTL(task,value) ({ \ | 90 | #define SET_UNALIGN_CTL(task,value) ({ \ |
118 | __u32 status = task_thread_info(task)->status & ~UAC_BITMASK; \ | 91 | __u32 status = task_thread_info(task)->status & ~UAC_BITMASK; \ |
diff --git a/arch/alpha/kernel/machvec_impl.h b/arch/alpha/kernel/machvec_impl.h index f54bdf658cd0..d3398f6ab74c 100644 --- a/arch/alpha/kernel/machvec_impl.h +++ b/arch/alpha/kernel/machvec_impl.h | |||
@@ -137,7 +137,7 @@ | |||
137 | #define __initmv __initdata | 137 | #define __initmv __initdata |
138 | #define ALIAS_MV(x) | 138 | #define ALIAS_MV(x) |
139 | #else | 139 | #else |
140 | #define __initmv __initdata_refok | 140 | #define __initmv __refdata |
141 | 141 | ||
142 | /* GCC actually has a syntax for defining aliases, but is under some | 142 | /* GCC actually has a syntax for defining aliases, but is under some |
143 | delusion that you shouldn't be able to declare it extern somewhere | 143 | delusion that you shouldn't be able to declare it extern somewhere |