process.c (407da561244b9d51e6a794d6305ba38ec2c9d907) process.c (89b3098703bd2aa3237ef10a704e6a5838e6ea69)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
4 * Chen Liqin <liqin.chen@sunplusct.com>
5 * Lennox Wu <lennox.wu@sunplusct.com>
6 * Copyright (C) 2012 Regents of the University of California
7 * Copyright (C) 2017 SiFive
8 */

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

34#endif
35
36extern asmlinkage void ret_from_fork(void);
37extern asmlinkage void ret_from_kernel_thread(void);
38
39void arch_cpu_idle(void)
40{
41 cpu_do_idle();
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
4 * Chen Liqin <liqin.chen@sunplusct.com>
5 * Lennox Wu <lennox.wu@sunplusct.com>
6 * Copyright (C) 2012 Regents of the University of California
7 * Copyright (C) 2017 SiFive
8 */

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

34#endif
35
36extern asmlinkage void ret_from_fork(void);
37extern asmlinkage void ret_from_kernel_thread(void);
38
39void arch_cpu_idle(void)
40{
41 cpu_do_idle();
42 raw_local_irq_enable();
43}
44
45void __show_regs(struct pt_regs *regs)
46{
47 show_regs_print_info(KERN_DEFAULT);
48
49 if (!user_mode(regs)) {
50 pr_cont("epc : %pS\n", (void *)regs->epc);

--- 141 unchanged lines hidden ---
42}
43
44void __show_regs(struct pt_regs *regs)
45{
46 show_regs_print_info(KERN_DEFAULT);
47
48 if (!user_mode(regs)) {
49 pr_cont("epc : %pS\n", (void *)regs->epc);

--- 141 unchanged lines hidden ---