Skip to content

../mm/ksm.c:2133:13: error: implicit declaration of function 'cma_page'; did you mean 'vma_pages'? #4

@sanderhollaar

Description

@sanderhollaar

Compiling Current Linux kernel for Odroid C5 on NixOS fails with:

../mm/ksm.c: In function 'cmp_and_merge_page':
../mm/ksm.c:2133:13: error: implicit declaration of function 'cma_page'; did you mean 'vma_pages'? [-Werror=implicit-function-declaration]
 2133 |         if (cma_page(page)) {
      |             ^~~~~~~~
      |             vma_pages

I notice I have multiple issues compiling this kernel. Am I holding this wrong somehow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions