diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-13 20:26:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-13 20:26:50 -0400 |
commit | 13b102bf48d39d84d87bee31544f4588502649b6 (patch) | |
tree | c51846d0ca82ed2b7c01f52925c1cd56e1802ce7 /arch/sparc/kernel/process_64.c | |
parent | 81c02a21b293faecab725f691d709111831e1944 (diff) | |
parent | 8bccf5b313180faefce38e0d1140f76e0f327d28 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
Pull Sparc fixes from David Miller:
"Sparc bug fixes, one of which was preventing successful SMP boots with
mainline"
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
sparc64: Fix pcr_ops initialization and usage bugs.
sparc64: Do not disable interrupts in nmi_cpu_busy()
sparc: Hook up seccomp and getrandom system calls.
sparc: fix decimal printf format specifiers prefixed with 0x
Diffstat (limited to 'arch/sparc/kernel/process_64.c')
-rw-r--r-- | arch/sparc/kernel/process_64.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/kernel/process_64.c b/arch/sparc/kernel/process_64.c index 027e09986194..0be7bf978cb1 100644 --- a/arch/sparc/kernel/process_64.c +++ b/arch/sparc/kernel/process_64.c | |||
@@ -312,6 +312,9 @@ static void __global_pmu_self(int this_cpu) | |||
312 | struct global_pmu_snapshot *pp; | 312 | struct global_pmu_snapshot *pp; |
313 | int i, num; | 313 | int i, num; |
314 | 314 | ||
315 | if (!pcr_ops) | ||
316 | return; | ||
317 | |||
315 | pp = &global_cpu_snapshot[this_cpu].pmu; | 318 | pp = &global_cpu_snapshot[this_cpu].pmu; |
316 | 319 | ||
317 | num = 1; | 320 | num = 1; |