David Howells
29da7eb0ec
[PATCH] FRV: Use the correct preemption primitives in kmap_atomic() and co
...
Use inc/dec_preempt_count() rather than preempt_enable/disable() and manually
add in the compiler barriers that were provided by the latter. This makes FRV
consistent with other archs.
Furthermore, the compiler barrier effects are now there unconditionally - at
least as far as preemption is concerned - because we don't want the compiler
moving memory accesses out of the section of code in which the mapping is in
force - in effect the kmap_atomic() must imply a LOCK-class barrier and the
kunmap_atomic() must imply an UNLOCK-class barrier to the compiler.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-16 08:32:29 -07:00
..
2005-04-16 15:20:36 -07:00
2006-06-23 07:42:55 -07:00
2005-09-07 16:57:21 -07:00
2005-04-16 15:20:36 -07:00
2006-09-26 08:48:54 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-02-14 16:09:35 -08:00
2006-06-23 07:42:54 -07:00
2006-09-26 08:48:53 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-08 20:13:38 -08:00
2006-10-05 15:10:12 +01:00
2006-07-10 13:24:22 -07:00
2005-07-26 14:35:41 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:38 -07:00
2006-04-26 12:56:16 +01:00
2006-03-27 08:44:49 -08:00
2006-07-10 13:24:22 -07:00
2005-04-16 15:20:36 -07:00
2006-09-26 08:48:53 -07:00
2006-10-16 08:32:29 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2006-10-11 11:14:23 -07:00
2006-01-10 08:01:34 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-05 15:10:12 +01:00
2006-09-26 08:48:53 -07:00
2006-06-18 12:58:53 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-09-26 08:48:53 -07:00
2006-09-26 08:48:53 -07:00
2006-09-26 08:48:53 -07:00
2006-09-26 08:48:53 -07:00
2006-06-23 07:42:54 -07:00
2006-01-08 20:13:38 -08:00
2005-04-16 15:20:36 -07:00
2006-02-15 15:32:22 -08:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2006-01-08 20:13:37 -08:00
2005-04-16 15:20:36 -07:00
2006-01-09 15:59:19 -08:00
2006-10-03 23:01:26 +02:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-10-01 00:39:34 -07:00
2006-03-25 08:22:56 -08:00
2005-04-16 15:20:36 -07:00
2006-07-12 12:56:45 -07:00
2006-10-05 15:10:12 +01:00
2006-07-10 13:24:22 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2005-11-28 14:42:23 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-02 13:58:46 -07:00
2006-04-26 12:56:16 +01:00
2006-06-29 16:58:06 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-02-14 16:09:35 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-14 21:56:14 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-10 13:24:22 -07:00
2005-04-16 15:20:36 -07:00
2006-10-01 00:39:27 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-06-23 07:42:54 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-10-02 07:57:23 -07:00
2005-04-16 15:20:36 -07:00
2006-01-08 20:13:38 -08:00
2006-04-26 12:56:16 +01:00
2006-01-08 20:13:38 -08:00