aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorDavid Abdurachmanov <[email protected]>2019-12-18 10:28:11 +0200
committerPaul Walmsley <[email protected]>2019-12-20 03:32:24 -0800
commit01f52e16b868ce22069425c69f2c8e3ef4077b5c (patch)
tree3ee2a5c827989e1d79d66ba4bebe79b87a2c8874 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentd411cf02ed0260dacc4b2fd61dd5040fc2aa97e7 (diff)
riscv: define vmemmap before pfn_to_page calls
pfn_to_page & page_to_pfn depend on vmemmap being available before the calls if kernel is configured with CONFIG_SPARSEMEM_VMEMMAP=y. This was caused by NOMMU changes which moved vmemmap definition bellow functions definitions calling pfn_to_page & page_to_pfn. Noticed while compiled 5.5-rc2 kernel for Fedora/RISCV. v2: - Add a comment for vmemmap in source Signed-off-by: David Abdurachmanov <[email protected]> Fixes: 6bd33e1ece52 ("riscv: add nommu support") Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions