History

mm/hmm: remove superfluous arguments from hmm_range_register

The start, end and page_shift values are all saved in the range structure, so we might as well use that for argument passing.

Christoph Hellwig committed 7 years ago

Commit fac555a1 parent 2cbeb415 files · +14 −26Browse files

Showing the changes to include/linux (1 of 5 files). Show all

Unified · Split

include/linux/hmm.h+1−5
@@ -400,11 +400,7 @@ void hmm_mirror_unregister(struct hmm_mirror *mirror); · 399 unmodified lines
400400 /*
401401 * Please see Documentation/vm/hmm.rst for how to use the range API.
402402 */
403−int hmm_range_register(struct hmm_range *range,
404− struct hmm_mirror *mirror,
405− unsigned long start,
406− unsigned long end,
407− unsigned page_shift);
403+int hmm_range_register(struct hmm_range *range, struct hmm_mirror *mirror);
408404 void hmm_range_unregister(struct hmm_range *range);
409405
410406 /*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t