process.c (643d48b8e6e71a77214c8653003f2ecd9bc10f9e) process.c (714acdbd1c94e7e3ab90f6b6938f1ccb27b662f0)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Process creation support for Hexagon
4 *
5 * Copyright (c) 2010-2012, The Linux Foundation. All rights reserved.
6 */
7
8#include <linux/sched.h>

--- 36 unchanged lines hidden (view full) ---

45 __vmwait();
46 /* interrupts wake us up, but irqs are still disabled */
47 local_irq_enable();
48}
49
50/*
51 * Copy architecture-specific thread state
52 */
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Process creation support for Hexagon
4 *
5 * Copyright (c) 2010-2012, The Linux Foundation. All rights reserved.
6 */
7
8#include <linux/sched.h>

--- 36 unchanged lines hidden (view full) ---

45 __vmwait();
46 /* interrupts wake us up, but irqs are still disabled */
47 local_irq_enable();
48}
49
50/*
51 * Copy architecture-specific thread state
52 */
53int copy_thread_tls(unsigned long clone_flags, unsigned long usp,
54 unsigned long arg, struct task_struct *p, unsigned long tls)
53int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg,
54 struct task_struct *p, unsigned long tls)
55{
56 struct thread_info *ti = task_thread_info(p);
57 struct hexagon_switch_stack *ss;
58 struct pt_regs *childregs;
59 asmlinkage void ret_from_fork(void);
60
61 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) -
62 sizeof(*childregs));

--- 138 unchanged lines hidden ---
55{
56 struct thread_info *ti = task_thread_info(p);
57 struct hexagon_switch_stack *ss;
58 struct pt_regs *childregs;
59 asmlinkage void ret_from_fork(void);
60
61 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) -
62 sizeof(*childregs));

--- 138 unchanged lines hidden ---