Tiejun Chen
94b09d7554
powerpc/hugetlb: Replace __get_cpu_var with get_cpu_var
...
Replace __get_cpu_var safely with get_cpu_var to avoid
the following call trace:
[ 7253.637591] BUG: using smp_processor_id() in preemptible [00000000 00000000]
code: hugemmap01/9048
[ 7253.637601] caller is free_hugepd_range.constprop.25+0x88/0x1a8
[ 7253.637605] CPU: 1 PID: 9048 Comm: hugemmap01 Not tainted 3.10.20-rt14+ #114
[ 7253.637606] Call Trace:
[ 7253.637617] [cb049d80] [c0007ea4] show_stack+0x4c/0x168 (unreliable)
[ 7253.637624] [cb049dc0] [c031c674] debug_smp_processor_id+0x114/0x134
[ 7253.637628] [cb049de0] [c0016d28] free_hugepd_range.constprop.25+0x88/0x1a8
[ 7253.637632] [cb049e00] [c001711c] hugetlb_free_pgd_range+0x6c/0x168
[ 7253.637639] [cb049e40] [c0117408] free_pgtables+0x12c/0x150
[ 7253.637646] [cb049e70] [c011ce38] unmap_region+0xa0/0x11c
[ 7253.637671] [cb049ef0] [c011f03c] do_munmap+0x224/0x3bc
[ 7253.637676] [cb049f20] [c011f2e0] vm_munmap+0x38/0x5c
[ 7253.637682] [cb049f40] [c000ef88] ret_from_syscall+0x0/0x3c
[ 7253.637686] --- Exception: c01 at 0xff16004
Signed-off-by: Tiejun Chen<tiejun.chen@windriver.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-01-29 17:02:26 +11:00
..
2010-08-05 12:56:08 +10:00
2013-07-01 11:10:36 +10:00
2013-11-13 12:09:03 +09:00
2013-09-12 15:38:01 -07:00
2014-01-09 17:52:19 -06:00
2013-11-21 10:33:37 +11:00
2012-07-11 14:18:22 +10:00
2013-12-09 11:40:28 +11:00
2013-10-11 16:48:26 +11:00
2013-12-09 11:40:28 +11:00
2010-10-27 18:03:05 -07:00
2013-12-09 11:40:28 +11:00
2014-01-09 17:52:20 -06:00
2013-12-09 11:40:28 +11:00
2014-01-29 17:02:26 +11:00
2011-11-25 14:11:27 +11:00
2013-04-18 13:03:54 +10:00
2012-03-07 17:06:09 +11:00
2013-10-28 21:11:22 -05:00
2013-10-11 17:24:39 +11:00
2013-06-21 16:01:56 +10:00
2014-01-27 21:11:26 -08:00
2013-07-10 18:11:34 -07:00
2011-10-31 19:30:38 -04:00
2013-04-30 16:00:07 +10:00
2013-07-01 11:10:36 +10:00
2014-01-09 17:52:18 -06:00
2014-01-29 16:58:48 +11:00
2014-01-09 17:52:19 -06:00
2014-01-15 14:22:35 +11:00
2014-01-15 13:46:44 +11:00
2010-08-05 12:56:08 +10:00
2013-03-17 12:45:44 +11:00
2013-08-14 15:33:35 +10:00
2014-01-29 17:02:25 +11:00
2012-09-05 15:19:31 +10:00
2013-08-14 11:50:24 +10:00
2011-10-31 19:30:38 -04:00
2014-01-15 13:46:44 +11:00
2014-01-17 18:43:14 -06:00
2014-01-09 17:52:18 -06:00
2014-01-17 18:43:14 -06:00