Merge branch 'topic/get-cpu-var' into next

This commit is contained in:
Michael Ellerman
2014-11-05 21:00:31 +11:00
32 changed files with 108 additions and 103 deletions

View File

@@ -155,7 +155,7 @@ int __init xics_smp_probe(void)
void xics_teardown_cpu(void)
{
struct xics_cppr *os_cppr = &__get_cpu_var(xics_cppr);
struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr);
/*
* we have to reset the cppr index to 0 because we're