diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 13:01:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 13:01:28 -0500 |
commit | 0cf975e16927fd70f34cee20d3856246c13bb4c8 (patch) | |
tree | bb955d50f28e5d98c198701798c8341d9763299a /arch/cris/kernel/process.c | |
parent | 03054de1e0b90b33e9974107d84dabd2509f5898 (diff) | |
parent | bc10ac3f2fe44e65f787d6197fd5d17304bf7d83 (diff) |
Merge branch 'cris' of git://www.jni.nu/cris
* 'cris' of git://www.jni.nu/cris: (158 commits)
CRIS v32: Remove hwregs/timer_defs.h, it is now architecture specific.
CRIS v32: Change drivers/i2c.c locking.
CRIS v32: Rewrite ARTPEC-3 gpio driver to avoid volatiles and general cleanup.
CRIS: Add new timerfd syscall entries.
MAINTAINERS: Add my information for the CRIS port.
CRIS v32: Correct spelling of bandwidth in function name.
CRIS v32: Clean up nandflash.c for ARTPEC-3 and ETRAX FS.
CRIS v10: Cleanup of drivers/gpio.c
CRIS v10: drivers/net/cris/eth_v10.c rename LED defines to CRIS_LED to avoid name clash.
CRIS: Make io_pwm_set_period members unsigned in etraxgpio.h
CRIS: Move ETRAX_AXISFLASHMAP to common Kconfig file.
CRIS: Drop regs parameter from call to profile_tick in kernel/time.c
CRIS v32: Fix minor formatting issue in mach-a3/io.c
CRIS v32: Initialize GIO even if we're rambooting in kernel/head.S
CRIS v32: Remove kernel/arbiter.c, it now exists in machine dependent directory.
CRIS v32: Minor changes to avoid errors in asm-cris/arch-v32/hwregs/reg_rdwr.h
CRIS v32: arch-v32/hwregs/intr_vect_defs.h moved to machine dependent directory.
CRIS v32: Correct offset for TASK_pid in asm-cris/arch-v32/offset.h
CRIS v32: Move register map header to machine dependent directory.
CRIS v32: Let compiler know that memory is clobbered after a break op.
...
Diffstat (limited to 'arch/cris/kernel/process.c')
-rw-r--r-- | arch/cris/kernel/process.c | 103 |
1 files changed, 2 insertions, 101 deletions
diff --git a/arch/cris/kernel/process.c b/arch/cris/kernel/process.c index 9ca558fc5bc8..ef2db8fd102a 100644 --- a/arch/cris/kernel/process.c +++ b/arch/cris/kernel/process.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* $Id: process.c,v 1.21 2005/03/04 08:16:17 starvik Exp $ | 1 | /* |
2 | * | ||
3 | * linux/arch/cris/kernel/process.c | 2 | * linux/arch/cris/kernel/process.c |
4 | * | 3 | * |
5 | * Copyright (C) 1995 Linus Torvalds | 4 | * Copyright (C) 1995 Linus Torvalds |
@@ -7,105 +6,6 @@ | |||
7 | * | 6 | * |
8 | * Authors: Bjorn Wesen (bjornw@axis.com) | 7 | * Authors: Bjorn Wesen (bjornw@axis.com) |
9 | * | 8 | * |
10 | * $Log: process.c,v $ | ||
11 | * Revision 1.21 2005/03/04 08:16:17 starvik | ||
12 | * Merge of Linux 2.6.11. | ||
13 | * | ||
14 | * Revision 1.20 2005/01/18 05:57:22 starvik | ||
15 | * Renamed hlt_counter to cris_hlt_counter and made it global. | ||
16 | * | ||
17 | * Revision 1.19 2004/10/19 13:07:43 starvik | ||
18 | * Merge of Linux 2.6.9 | ||
19 | * | ||
20 | * Revision 1.18 2004/08/16 12:37:23 starvik | ||
21 | * Merge of Linux 2.6.8 | ||
22 | * | ||
23 | * Revision 1.17 2004/04/05 13:53:48 starvik | ||
24 | * Merge of Linux 2.6.5 | ||
25 | * | ||
26 | * Revision 1.16 2003/10/27 08:04:33 starvik | ||
27 | * Merge of Linux 2.6.0-test9 | ||
28 | * | ||
29 | * Revision 1.15 2003/09/11 07:29:52 starvik | ||
30 | * Merge of Linux 2.6.0-test5 | ||
31 | * | ||
32 | * Revision 1.14 2003/06/10 10:21:12 johana | ||
33 | * Moved thread_saved_pc() from arch/cris/kernel/process.c to | ||
34 | * subarch specific process.c. arch-v32 has an erp, no irp. | ||
35 | * | ||
36 | * Revision 1.13 2003/04/09 05:20:47 starvik | ||
37 | * Merge of Linux 2.5.67 | ||
38 | * | ||
39 | * Revision 1.12 2002/12/11 15:41:11 starvik | ||
40 | * Extracted v10 (ETRAX 100LX) specific stuff to arch/cris/arch-v10/kernel | ||
41 | * | ||
42 | * Revision 1.11 2002/12/10 09:00:10 starvik | ||
43 | * Merge of Linux 2.5.51 | ||
44 | * | ||
45 | * Revision 1.10 2002/11/27 08:42:34 starvik | ||
46 | * Argument to user_regs() is thread_info* | ||
47 | * | ||
48 | * Revision 1.9 2002/11/26 09:44:21 starvik | ||
49 | * New threads exits through ret_from_fork (necessary for preemptive scheduling) | ||
50 | * | ||
51 | * Revision 1.8 2002/11/19 14:35:24 starvik | ||
52 | * Changes from linux 2.4 | ||
53 | * Changed struct initializer syntax to the currently prefered notation | ||
54 | * | ||
55 | * Revision 1.7 2002/11/18 07:39:42 starvik | ||
56 | * thread_saved_pc moved here from processor.h | ||
57 | * | ||
58 | * Revision 1.6 2002/11/14 06:51:27 starvik | ||
59 | * Made cpu_idle more similar with other archs | ||
60 | * init_task_union -> init_thread_union | ||
61 | * Updated for new interrupt macros | ||
62 | * sys_clone and do_fork have a new argument, user_tid | ||
63 | * | ||
64 | * Revision 1.5 2002/11/05 06:45:11 starvik | ||
65 | * Merge of Linux 2.5.45 | ||
66 | * | ||
67 | * Revision 1.4 2002/02/05 15:37:44 bjornw | ||
68 | * Need init_task.h | ||
69 | * | ||
70 | * Revision 1.3 2002/01/21 15:22:49 bjornw | ||
71 | * current->counter is gone | ||
72 | * | ||
73 | * Revision 1.22 2001/11/13 09:40:43 orjanf | ||
74 | * Added dump_fpu (needed for core dumps). | ||
75 | * | ||
76 | * Revision 1.21 2001/11/12 18:26:21 pkj | ||
77 | * Fixed compiler warnings. | ||
78 | * | ||
79 | * Revision 1.20 2001/10/03 08:21:39 jonashg | ||
80 | * cause_of_death does not exist if CONFIG_SVINTO_SIM is defined. | ||
81 | * | ||
82 | * Revision 1.19 2001/09/26 11:52:54 bjornw | ||
83 | * INIT_MMAP is gone in 2.4.10 | ||
84 | * | ||
85 | * Revision 1.18 2001/08/21 21:43:51 hp | ||
86 | * Move last watchdog fix inside #ifdef CONFIG_ETRAX_WATCHDOG | ||
87 | * | ||
88 | * Revision 1.17 2001/08/21 13:48:01 jonashg | ||
89 | * Added fix by HP to avoid oops when doing a hard_reset_now. | ||
90 | * | ||
91 | * Revision 1.16 2001/06/21 02:00:40 hp | ||
92 | * * entry.S: Include asm/unistd.h. | ||
93 | * (_sys_call_table): Use section .rodata, not .data. | ||
94 | * (_kernel_thread): Move from... | ||
95 | * * process.c: ... here. | ||
96 | * * entryoffsets.c (VAL): Break out from... | ||
97 | * (OF): Use VAL. | ||
98 | * (LCLONE_VM): New asmified value from CLONE_VM. | ||
99 | * | ||
100 | * Revision 1.15 2001/06/20 16:31:57 hp | ||
101 | * Add comments to describe empty functions according to review. | ||
102 | * | ||
103 | * Revision 1.14 2001/05/29 11:27:59 markusl | ||
104 | * Fixed so that hard_reset_now will do reset even if watchdog wasn't enabled | ||
105 | * | ||
106 | * Revision 1.13 2001/03/20 19:44:06 bjornw | ||
107 | * Use the 7th syscall argument for regs instead of current_regs | ||
108 | * | ||
109 | */ | 9 | */ |
110 | 10 | ||
111 | /* | 11 | /* |
@@ -206,6 +106,7 @@ EXPORT_SYMBOL(pm_power_off); | |||
206 | * low exit latency (ie sit in a loop waiting for | 106 | * low exit latency (ie sit in a loop waiting for |
207 | * somebody to say that they'd like to reschedule) | 107 | * somebody to say that they'd like to reschedule) |
208 | */ | 108 | */ |
109 | |||
209 | void cpu_idle (void) | 110 | void cpu_idle (void) |
210 | { | 111 | { |
211 | /* endless idle loop with no priority at all */ | 112 | /* endless idle loop with no priority at all */ |