csky: Process management and Signal

This patch adds files related to task_switch, sigcontext, signal,
fpu context switch.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
Guo Ren
2018-09-05 14:25:14 +08:00
parent 013de2d667
commit e9564df753
10 changed files with 1231 additions and 0 deletions

11
arch/csky/kernel/time.c Normal file
View File

@@ -0,0 +1,11 @@
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
#include <linux/clk-provider.h>
#include <linux/clocksource.h>
void __init time_init(void)
{
of_clk_init(NULL);
timer_probe();
}