Hugh Dickins
1e8352784a
percpu: fix DEBUG_PREEMPT per_cpu checking
...
2.6.25-rc1 percpu changes broke CONFIG_DEBUG_PREEMPT's per_cpu checking
on several architectures. On s390, sparc64 and x86 it's been weakened to
not checking at all; whereas on powerpc64 it's become too strict, issuing
warnings from __raw_get_cpu_var in io_schedule and init_timer for example.
Fix this by weakening powerpc's __my_cpu_offset to use the non-checking
local_paca instead of get_paca (which itself contains such a check);
and strengthening the generic my_cpu_offset to go the old slow way via
smp_processor_id when CONFIG_DEBUG_PREEMPT (debug_smp_processor_id is
where all the knowledge of what's correct when lives).
Signed-off-by: Hugh Dickins <hugh@veritas.com >
Reviewed-by: Mike Travis <travis@sgi.com >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2008-02-23 12:09:28 -08:00
..
2007-12-20 16:17:44 +11:00
2007-12-20 16:17:44 +11:00
2008-02-08 09:22:29 -08:00
2008-01-30 13:34:07 +01:00
2008-01-28 23:58:27 -05:00
2008-02-03 16:32:51 +02:00
2008-01-28 08:31:06 -06:00
2008-01-28 08:31:06 -06:00
2008-01-28 08:31:06 -06:00
2008-02-05 23:34:14 -06:00
2007-12-03 13:56:25 +11:00
2008-02-06 10:41:00 -08:00
2008-02-06 21:02:57 -06:00
2007-12-23 13:12:11 -06:00
2008-01-31 12:11:09 +11:00
2008-02-06 10:41:02 -08:00
2008-02-07 20:40:18 +11:00
2007-12-11 13:34:40 +11:00
2007-10-17 08:42:55 -07:00
2007-10-17 22:30:08 +10:00
2008-01-25 22:17:08 +01:00
2007-12-11 13:57:18 -06:00
2008-01-23 19:34:06 -06:00
2007-12-11 15:43:34 +11:00
2008-02-05 09:44:11 -08:00
2007-12-11 13:57:18 -06:00
2008-01-28 09:19:16 -06:00
2007-10-17 08:42:55 -07:00
2008-01-25 22:52:50 +11:00
2007-10-16 09:43:10 -07:00
2008-01-23 19:29:08 -06:00
2007-12-21 22:13:35 +11:00
2008-02-06 02:57:50 +01:00
2007-10-19 11:53:41 -07:00
2008-01-24 10:06:01 +11:00
2008-01-28 08:31:04 -06:00
2008-02-06 14:05:40 -07:00
2008-01-26 15:32:18 -07:00
2008-02-06 14:03:10 -07:00
2008-01-23 19:34:43 -06:00
2007-12-28 09:22:25 -06:00
2008-02-05 09:44:08 -08:00
2007-10-17 22:30:07 +10:00
2008-01-25 07:07:26 -06:00
2008-02-05 23:34:14 -06:00
2008-02-06 10:41:00 -08:00
2008-02-07 08:42:30 -08:00
2008-02-07 08:42:30 -08:00
2008-02-08 09:22:42 -08:00
2008-01-28 15:04:21 -08:00
2008-01-23 19:32:30 -06:00
2007-12-20 16:18:09 +11:00
2008-02-23 12:09:28 -08:00
2008-02-08 09:22:42 -08:00
2008-02-08 09:22:42 -08:00
2008-01-24 10:06:01 +11:00
2007-12-06 13:11:04 -06:00
2007-10-16 09:42:51 -07:00
2008-02-08 19:52:35 +11:00
2008-02-08 09:22:34 -08:00
2007-12-11 13:42:32 +11:00
2008-02-08 09:22:29 -08:00
2007-12-11 15:43:35 +11:00
2008-01-25 22:52:53 +11:00
2008-02-06 10:41:17 -08:00
2008-02-07 20:40:21 +11:00
2008-01-23 19:34:06 -06:00
2008-02-05 23:34:14 -06:00
2008-02-05 23:34:14 -06:00
2008-02-05 23:34:14 -06:00
2007-12-03 09:39:45 +11:00
2007-10-22 21:20:03 +02:00
2007-10-17 08:42:47 -07:00
2008-01-25 22:52:50 +11:00
2007-12-20 16:17:44 +11:00
2008-01-31 19:27:19 -08:00
2008-01-25 22:52:53 +11:00
2007-12-21 19:46:20 +11:00
2007-12-21 19:45:05 +11:00
2008-02-20 14:57:36 +11:00
2008-02-14 22:11:01 +11:00
2008-02-07 09:02:26 -08:00
2007-12-06 16:08:59 +11:00
2007-11-09 03:51:14 -06:00
2007-10-17 08:42:53 -07:00
2007-12-23 13:13:03 -06:00
2008-02-14 22:11:01 +11:00
2008-02-07 08:42:30 -08:00
2007-11-20 13:56:31 +11:00
2008-02-06 16:30:00 +11:00