process.c (4f2c0a4acffbec01079c28f839422e64ddeff004) process.c (89b3098703bd2aa3237ef10a704e6a5838e6ea69)
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>

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

39 * Spin, or better still, do a hardware or VM wait instruction
40 * If hardware or VM offer wait termination even though interrupts
41 * are disabled.
42 */
43void arch_cpu_idle(void)
44{
45 __vmwait();
46 /* interrupts wake us up, but irqs are still disabled */
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>

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

39 * Spin, or better still, do a hardware or VM wait instruction
40 * If hardware or VM offer wait termination even though interrupts
41 * are disabled.
42 */
43void arch_cpu_idle(void)
44{
45 __vmwait();
46 /* interrupts wake us up, but irqs are still disabled */
47 raw_local_irq_enable();
48}
49
50/*
51 * Copy architecture-specific thread state
52 */
53int copy_thread(struct task_struct *p, const struct kernel_clone_args *args)
54{
55 unsigned long clone_flags = args->flags;

--- 127 unchanged lines hidden ---
47}
48
49/*
50 * Copy architecture-specific thread state
51 */
52int copy_thread(struct task_struct *p, const struct kernel_clone_args *args)
53{
54 unsigned long clone_flags = args->flags;

--- 127 unchanged lines hidden ---