Skip to content

Commit 489577d

Browse files
liupingfanctmarinas
authored andcommitted
arm64/fixmap: make notes of fixed_addresses more precisely
These 'compile-time allocated' memory buffers can occupy more than one page and each enum increment is page-sized. So improve the note about it. Signed-off-by: Pingfan Liu <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] To: [email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 0e4cd9f commit 489577d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

arch/arm64/include/asm/fixmap.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@
2828
* compile time, but to set the physical address only
2929
* in the boot process.
3030
*
31-
* These 'compile-time allocated' memory buffers are
32-
* page-sized. Use set_fixmap(idx,phys) to associate
33-
* physical memory with fixmap indices.
34-
*
31+
* Each enum increment in these 'compile-time allocated'
32+
* memory buffers is page-sized. Use set_fixmap(idx,phys)
33+
* to associate physical memory with a fixmap index.
3534
*/
3635
enum fixed_addresses {
3736
FIX_HOLE,

0 commit comments

Comments
 (0)