Revision 62103ece52360992a6799e9ec85628166a8477e8 authored by Kefeng Wang on 23 October 2019, 03:23:01 UTC, committed by Paul Walmsley on 23 October 2019, 21:53:46 UTC
With CONFIG_SPARSEMEM and !CONFIG_SPARSEMEM_VMEMMAP, arch/riscv/include/asm/pgtable.h: In function ‘mk_pte’: include/asm-generic/memory_model.h:64:14: error: implicit declaration of function ‘page_to_section’; did you mean ‘present_section’? [-Werror=implicit-function-declaration] int __sec = page_to_section(__pg); \ ^~~~~~~~~~~~~~~ Fixed by changing mk_pte() from inline function to macro. Cc: Logan Gunthorpe <logang@deltatee.com> Fixes: d95f1a542c3d ("RISC-V: Implement sparsemem") Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> [paul.walmsley@sifive.com: fixed checkpatch errors] Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
1 parent 90db7b2
File | Mode | Size |
---|---|---|
include | ||
ss | ||
.gitignore | -rw-r--r-- | 25 bytes |
Kconfig | -rw-r--r-- | 3.4 KB |
Makefile | -rw-r--r-- | 902 bytes |
avc.c | -rw-r--r-- | 32.4 KB |
hooks.c | -rw-r--r-- | 181.6 KB |
ibpkey.c | -rw-r--r-- | 5.6 KB |
netif.c | -rw-r--r-- | 6.8 KB |
netlabel.c | -rw-r--r-- | 15.8 KB |
netlink.c | -rw-r--r-- | 2.3 KB |
netnode.c | -rw-r--r-- | 7.5 KB |
netport.c | -rw-r--r-- | 5.8 KB |
nlmsgtab.c | -rw-r--r-- | 8.0 KB |
selinuxfs.c | -rw-r--r-- | 48.3 KB |
xfrm.c | -rw-r--r-- | 11.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...