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 |
---|---|---|
6fire | ||
bcd2000 | ||
caiaq | ||
hiface | ||
line6 | ||
misc | ||
usx2y | ||
Kconfig | -rw-r--r-- | 4.8 KB |
Makefile | -rw-r--r-- | 781 bytes |
card.c | -rw-r--r-- | 24.0 KB |
card.h | -rw-r--r-- | 6.9 KB |
clock.c | -rw-r--r-- | 16.0 KB |
clock.h | -rw-r--r-- | 392 bytes |
debug.h | -rw-r--r-- | 301 bytes |
endpoint.c | -rw-r--r-- | 32.3 KB |
endpoint.h | -rw-r--r-- | 1.4 KB |
format.c | -rw-r--r-- | 16.1 KB |
format.h | -rw-r--r-- | 489 bytes |
helper.c | -rw-r--r-- | 2.9 KB |
helper.h | -rw-r--r-- | 1.3 KB |
media.c | -rw-r--r-- | 8.1 KB |
media.h | -rw-r--r-- | 2.4 KB |
midi.c | -rw-r--r-- | 68.9 KB |
midi.h | -rw-r--r-- | 1.9 KB |
mixer.c | -rw-r--r-- | 94.3 KB |
mixer.h | -rw-r--r-- | 3.5 KB |
mixer_maps.c | -rw-r--r-- | 15.3 KB |
mixer_quirks.c | -rw-r--r-- | 61.1 KB |
mixer_quirks.h | -rw-r--r-- | 655 bytes |
mixer_scarlett.c | -rw-r--r-- | 27.6 KB |
mixer_scarlett.h | -rw-r--r-- | 208 bytes |
mixer_scarlett_gen2.c | -rw-r--r-- | 54.3 KB |
mixer_scarlett_gen2.h | -rw-r--r-- | 228 bytes |
mixer_us16x08.c | -rw-r--r-- | 37.1 KB |
mixer_us16x08.h | -rw-r--r-- | 4.0 KB |
pcm.c | -rw-r--r-- | 49.9 KB |
pcm.h | -rw-r--r-- | 586 bytes |
power.c | -rw-r--r-- | 2.5 KB |
power.h | -rw-r--r-- | 924 bytes |
proc.c | -rw-r--r-- | 5.2 KB |
proc.h | -rw-r--r-- | 250 bytes |
quirks-table.h | -rw-r--r-- | 84.1 KB |
quirks.c | -rw-r--r-- | 50.3 KB |
quirks.h | -rw-r--r-- | 1.5 KB |
stream.c | -rw-r--r-- | 31.8 KB |
stream.h | -rw-r--r-- | 325 bytes |
usbaudio.h | -rw-r--r-- | 3.2 KB |
validate.c | -rw-r--r-- | 9.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...