Fix some inconsistent field name in struct task_group_s: addrenv should be tg_addrenv.

This commit is contained in:
Gregory Nutt 2014-09-23 16:01:44 -06:00
parent 566dc8dd38
commit e326fcfef3
2 changed files with 3 additions and 3 deletions

View File

@ -252,7 +252,7 @@ uintptr_t pgalloc(uintptr_t brkaddr, unsigned int npages)
{
/* Get the physical address of the level 2 page table */
paddr = get_pgtable(&group->addrenv, brkaddr);
paddr = get_pgtable(&group->tg_addrenv, brkaddr);
if (paddr == 0)
{
return 0;

View File

@ -157,7 +157,7 @@ int group_addrenv(FAR struct tcb_s *tcb)
* the group whose environment is disappearing.
*/
up_addrenv_coherent(&oldgroup->addrenv);
up_addrenv_coherent(&oldgroup->tg_addrenv);
}
}
@ -167,7 +167,7 @@ int group_addrenv(FAR struct tcb_s *tcb)
* instantiated.
*/
ret = up_addrenv_select(&group->addrenv, NULL);
ret = up_addrenv_select(&group->tg_addrenv, NULL);
if (ret < 0)
{
bdbg("ERROR: up_addrenv_select failed: %d\n", ret);