processor.h (101cfc9f787d8ca22866a178f2c1684fb10f8c7a) | processor.h (5b00ca0b8035e49ef7c466e959c5cb457a654351) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * include/asm-parisc/processor.h 4 * 5 * Copyright (C) 1994 Linus Torvalds 6 * Copyright (C) 2001 Grant Grundler 7 */ 8 --- 242 unchanged lines hidden (view full) --- 251 * Note that the S/390 people took the easy way out and hacked their 252 * GCC to make the stack grow downwards. 253 * 254 * Final Note: For entry from syscall, the W (wide) bit of the PSW 255 * is stuffed into the lowest bit of the user sp (%r30), so we fill 256 * it in here from the current->personality 257 */ 258 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * include/asm-parisc/processor.h 4 * 5 * Copyright (C) 1994 Linus Torvalds 6 * Copyright (C) 2001 Grant Grundler 7 */ 8 --- 242 unchanged lines hidden (view full) --- 251 * Note that the S/390 people took the easy way out and hacked their 252 * GCC to make the stack grow downwards. 253 * 254 * Final Note: For entry from syscall, the W (wide) bit of the PSW 255 * is stuffed into the lowest bit of the user sp (%r30), so we fill 256 * it in here from the current->personality 257 */ 258 |
259#ifdef CONFIG_64BIT 260#define USER_WIDE_MODE (!test_thread_flag(TIF_32BIT)) 261#else 262#define USER_WIDE_MODE 0 263#endif | 259#define USER_WIDE_MODE (!is_32bit_task()) |
264 265#define start_thread(regs, new_pc, new_sp) do { \ 266 elf_addr_t *sp = (elf_addr_t *)new_sp; \ 267 __u32 spaceid = (__u32)current->mm->context; \ 268 elf_addr_t pc = (elf_addr_t)new_pc | 3; \ 269 elf_caddr_t *argv = (elf_caddr_t *)bprm->exec + 1; \ 270 \ 271 regs->iasq[0] = spaceid; \ --- 52 unchanged lines hidden --- | 260 261#define start_thread(regs, new_pc, new_sp) do { \ 262 elf_addr_t *sp = (elf_addr_t *)new_sp; \ 263 __u32 spaceid = (__u32)current->mm->context; \ 264 elf_addr_t pc = (elf_addr_t)new_pc | 3; \ 265 elf_caddr_t *argv = (elf_caddr_t *)bprm->exec + 1; \ 266 \ 267 regs->iasq[0] = spaceid; \ --- 52 unchanged lines hidden --- |