linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] csky: fixups after bootmem removal
@ 2018-09-26 11:27 Mike Rapoport
  2018-09-27  4:52 ` Guo Ren
  2018-09-27 13:47 ` Guo Ren
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Rapoport @ 2018-09-26 11:27 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Michal Hocko, Guo Ren, linux-mm, linux-kernel

Hi,

The below patch fixes the bootmem leftovers in csky. It is based on the
current mmots and csky build there fails because of undefined reference to
dma_direct_ops:

  MODPOST vmlinux.o
kernel/dma/mapping.o: In function `dmam_alloc_attrs':
kernel/dma/mapping.c:143: undefined reference to `dma_direct_ops'
kernel/dma/mapping.o: In function `dmam_declare_coherent_memory':
kernel/dma/mapping.c:184: undefined reference to `dma_direct_ops'
mm/dmapool.o: In function `dma_free_attrs': 
include/linux/dma-mapping.h:558: undefined reference to `dma_direct_ops'

I've blindly added "select DMA_DIRECT_OPS" to arch/csky/Kconfig and it
fixed the build, but I really have no idea if this the right thing to do...

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-27 13:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-26 11:27 [PATCH] csky: fixups after bootmem removal Mike Rapoport
2018-09-27  4:52 ` Guo Ren
2018-09-27 13:47 ` Guo Ren
2018-09-27 13:50   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).