Skip to content
Snippets Groups Projects
Select Git revision
  • 69b5086b12cda645d95f00575c25f1dfd1e929ad
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

linux

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Mathieu Malaterre authored and Linus Torvalds committed
    Commit 26f09e9b ("mm/memblock: add memblock memory allocation apis")
    introduced two new function definitions:
    
      memblock_virt_alloc_try_nid_nopanic()
      memblock_virt_alloc_try_nid()
    
    Commit ea1f5f37 ("mm: define memblock_virt_alloc_try_nid_raw")
    introduced the following function definition:
    
      memblock_virt_alloc_try_nid_raw()
    
    This commit adds an includeof header file <linux/bootmem.h> to provide
    the missing function prototypes.  Silence the following gcc warning
    (W=1):
    
      mm/memblock.c:1334:15: warning: no previous prototype for `memblock_virt_alloc_try_nid_raw' [-Wmissing-prototypes]
      mm/memblock.c:1371:15: warning: no previous prototype for `memblock_virt_alloc_try_nid_nopanic' [-Wmissing-prototypes]
      mm/memblock.c:1407:15: warning: no previous prototype for `memblock_virt_alloc_try_nid' [-Wmissing-prototypes]
    
    Link: http://lkml.kernel.org/r/20180606194144.16990-1-malat@debian.org
    
    
    Signed-off-by: default avatarMathieu Malaterre <malat@debian.org>
    Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    69b5086b
    History
    Name Last commit Last update