mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49: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:
parent
a7d7c0e60c
commit
fe664965c2
Notes:
sideshowbarker
2024-07-19 09:05:36 +09:00
Author: https://github.com/supercomputer7
Commit: fe664965c2
Pull-request: https://github.com/SerenityOS/serenity/pull/1274
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/shannonbooth
7 changed files with 8 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue