Changeset 455241b in mainline for kernel/generic/src/proc/task.c


Ignore:
Timestamp:
2025-01-16T19:29:20Z (27 hours ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
6caf5fb
Parents:
df721df
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2025-01-16 19:23:14)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2025-01-16 19:29:20)
Message:

Integrate kobject_t into target structures

This just means fewer allocations and indirections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/task.c

    rdf721df r455241b  
    251251                }
    252252
    253                 kobject_t *phone_obj = kobject_get(task, phone_handle,
    254                     KOBJECT_TYPE_PHONE);
    255                 (void) ipc_phone_connect(phone_obj->phone, ipc_box_0);
     253                phone_t *phone = phone_from_kobject(
     254                    kobject_get(task, phone_handle, KOBJECT_TYPE_PHONE));
     255                (void) ipc_phone_connect(phone, ipc_box_0);
    256256        }
    257257
Note: See TracChangeset for help on using the changeset viewer.