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) ...@@ -151,7 +151,7 @@ int prom_callback(long *args)
pmd_t *pmdp; pmd_t *pmdp;
pte_t *ptep; pte_t *ptep;
for_each_task(p) { for_each_process(p) {
mm = p->mm; mm = p->mm;
if (CTX_HWBITS(mm->context) == ctx) if (CTX_HWBITS(mm->context) == ctx)
break; break;
......
...@@ -612,7 +612,7 @@ void bbc_envctrl_cleanup(void) ...@@ -612,7 +612,7 @@ void bbc_envctrl_cleanup(void)
int found = 0; int found = 0;
read_lock(&tasklist_lock); read_lock(&tasklist_lock);
for_each_task(p) { for_each_process(p) {
if (p == kenvctrld_task) { if (p == kenvctrld_task) {
found = 1; found = 1;
break; break;
......
...@@ -1141,7 +1141,7 @@ static void __exit envctrl_cleanup(void) ...@@ -1141,7 +1141,7 @@ static void __exit envctrl_cleanup(void)
int found = 0; int found = 0;
read_lock(&tasklist_lock); read_lock(&tasklist_lock);
for_each_task(p) { for_each_process(p) {
if (p == kenvctrld_task) { if (p == kenvctrld_task) {
found = 1; found = 1;
break; 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