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 <kernelfans@gmail.com> Cc: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/1596460720-19243-1-git-send-email-kernelfans@gmail.com To: linux-arm-kernel@lists.infradead.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 0e4cd9f commit 489577d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

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)