/* * arch/arm/kernel/crunch.c * Cirrus MaverickCrunch context switching and handling * * Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/module.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/signal.h> #include <linux/sched.h> #include <linux/init.h> #include <linux/io.h> #include <asm/thread_notify.h> #include "soc.h" struct crunch_state *crunch_owner;
void crunch_task_release(struct thread_info *thread) { local_irq_disable(); if (crunch_owner == &thread->crunchstate) crunch_owner = NULL; local_irq_enable(); }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
lennert buytenhek | lennert buytenhek | 29 | 100.00% | 1 | 100.00% |
Total | 29 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
lennert buytenhek | lennert buytenhek | 17 | 94.44% | 1 | 50.00% |
h hartley sweeten | h hartley sweeten | 1 | 5.56% | 1 | 50.00% |
Total | 18 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
lennert buytenhek | lennert buytenhek | 119 | 95.97% | 1 | 33.33% |
h hartley sweeten | h hartley sweeten | 4 | 3.23% | 1 | 33.33% |
russell king | russell king | 1 | 0.81% | 1 | 33.33% |
Total | 124 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
lennert buytenhek | lennert buytenhek | 21 | 100.00% | 2 | 100.00% |
Total | 21 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
lennert buytenhek | lennert buytenhek | 226 | 95.36% | 2 | 33.33% |
h hartley sweeten | h hartley sweeten | 5 | 2.11% | 1 | 16.67% |
russell king | russell king | 3 | 1.27% | 2 | 33.33% |
ryan mallon | ryan mallon | 3 | 1.27% | 1 | 16.67% |
Total | 237 | 100.00% | 6 | 100.00% |