diff options
| author | Yosry Ahmed <[email protected]> | 2024-02-22 19:09:11 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-03-05 01:01:14 +0000 |
| commit | 15d1ec74b5d7054bba97e8be0b4407cd74976cbd (patch) | |
| tree | bf04d249fda176972660f8a3641aa5512814b6ed /mm/page_alloc.c | |
| parent | x86/mm: further clarify switch_mm_irqs_off() documentation (diff) | |
| download | kernel-15d1ec74b5d7054bba97e8be0b4407cd74976cbd.tar.gz kernel-15d1ec74b5d7054bba97e8be0b4407cd74976cbd.zip | |
x86/mm: always pass NULL as the first argument of switch_mm_irqs_off()
The first argument of switch_mm_irqs_off() is unused by the x86
implementation. Make sure that x86 code never passes a non-NULL value to
make this clear. Update the only non violating caller, switch_mm().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yosry Ahmed <[email protected]>
Suggested-by: Dave Hansen <[email protected]>
Acked-by: Dave Hansen <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov (AMD) <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra (Intel) <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions
