1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00

Kernel: Change get_sharing_devices_count() in GenericInterruptHandler

The new method' name is sharing_devices_count().
The Serenity Coding Style tends to not accept the word "get" in
methods' names if possible.
This commit is contained in:
Liav A 2020-02-23 14:14:01 +02:00 committed by Andreas Kling
parent a7d7c0e60c
commit fe664965c2
7 changed files with 8 additions and 8 deletions

View file

@ -351,7 +351,7 @@ Optional<KBuffer> procfs$interrupts(InodeIdentifier)
obj.add("purpose", "Interrupt Handler"); // FIXME: Determine the right description for each interrupt handler.
obj.add("interrupt_line", handler.interrupt_number());
obj.add("cpu_handler", 0); // FIXME: Determine the responsible CPU for each interrupt handler.
obj.add("device_sharing", (unsigned)handler.get_sharing_devices_count());
obj.add("device_sharing", (unsigned)handler.sharing_devices_count());
obj.add("call_count", (unsigned)handler.get_invoking_count());
});
array.finish();