Files
Linux/kernel
Mike Rapoport 4421cca0a3 memblock: use memblock_free for freeing virtual pointers
Rename memblock_free_ptr() to memblock_free() and use memblock_free()
when freeing a virtual pointer so that memblock_free() will be a
counterpart of memblock_alloc()

The callers are updated with the below semantic patch and manual
addition of (void *) casting to pointers that are represented by
unsigned long variables.

    @@
    identifier vaddr;
    expression size;
    @@
    (
    - memblock_phys_free(__pa(vaddr), size);
    + memblock_free(vaddr, size);
    |
    - memblock_free_ptr(vaddr, size);
    + memblock_free(vaddr, size);
    )

[[email protected]: fixup]
  Link: https://lkml.kernel.org/r/[email protected]

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
Signed-off-by: Stephen Rothwell <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: Shahab Vahedi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2021-11-06 13:30:41 -07:00
..
…
2021-08-11 13:11:12 -07:00
2021-09-08 15:32:35 -07:00
…
…
2021-06-18 11:43:08 +02:00
…
…
2021-09-08 15:32:34 -07:00
2021-05-07 00:26:33 -07:00
…
2021-06-18 11:43:09 +02:00
…
…
2020-12-01 10:30:28 +00:00
2021-08-11 14:47:16 +02:00
…
…
…
2021-05-07 00:26:34 -07:00
…