Commit ed0f0476 authored by David S. Miller's avatar David S. Miller

[SPARC]: Move over to for_each_process.

parent 8653fa0b
......@@ -151,7 +151,7 @@ int prom_callback(long *args)
pmd_t *pmdp;
pte_t *ptep;
for_each_task(p) {
for_each_process(p) {
mm = p->mm;
if (CTX_HWBITS(mm->context) == ctx)
break;
......
......@@ -612,7 +612,7 @@ void bbc_envctrl_cleanup(void)
int found = 0;
read_lock(&tasklist_lock);
for_each_task(p) {
for_each_process(p) {
if (p == kenvctrld_task) {
found = 1;
break;
......
......@@ -1141,7 +1141,7 @@ static void __exit envctrl_cleanup(void)
int found = 0;
read_lock(&tasklist_lock);
for_each_task(p) {
for_each_process(p) {
if (p == kenvctrld_task) {
found = 1;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment