~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to arch/sparc/kernel/us3_cpufreq.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
                break;
72
72
        default:
73
73
                BUG();
74
 
        };
 
74
        }
75
75
 
76
76
        return ret;
77
77
}
85
85
        if (!cpu_online(cpu))
86
86
                return 0;
87
87
 
88
 
        cpus_allowed = current->cpus_allowed;
 
88
        cpumask_copy(&cpus_allowed, tsk_cpus_allowed(current));
89
89
        set_cpus_allowed_ptr(current, cpumask_of(cpu));
90
90
 
91
91
        reg = read_safari_cfg();
105
105
        if (!cpu_online(cpu))
106
106
                return;
107
107
 
108
 
        cpus_allowed = current->cpus_allowed;
 
108
        cpumask_copy(&cpus_allowed, tsk_cpus_allowed(current));
109
109
        set_cpus_allowed_ptr(current, cpumask_of(cpu));
110
110
 
111
111
        new_freq = sparc64_get_clock_tick(cpu) / 1000;
125
125
 
126
126
        default:
127
127
                BUG();
128
 
        };
 
128
        }
129
129
 
130
130
        reg = read_safari_cfg();
131
131