Commit c5f60e1c authored by Gaosheng Cui's avatar Gaosheng Cui Committed by Thomas Bogendoerfer

MIPS: Octeon: remove orphan cvmx_fpa_setup_pool() declaration

All uses of cvmx_fpa_setup_pool() were removed by
commit a03822ea ("MIPS: OCTEON: Remove some unused files."),
so remove the orphan declaration, too.
Signed-off-by: default avatarGaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent df1a727f
...@@ -263,26 +263,6 @@ static inline void cvmx_fpa_free(void *ptr, uint64_t pool, ...@@ -263,26 +263,6 @@ static inline void cvmx_fpa_free(void *ptr, uint64_t pool,
cvmx_write_io(newptr.u64, num_cache_lines); cvmx_write_io(newptr.u64, num_cache_lines);
} }
/**
* Setup a FPA pool to control a new block of memory.
* This can only be called once per pool. Make sure proper
* locking enforces this.
*
* @pool: Pool to initialize
* 0 <= pool < 8
* @name: Constant character string to name this pool.
* String is not copied.
* @buffer: Pointer to the block of memory to use. This must be
* accessible by all processors and external hardware.
* @block_size: Size for each block controlled by the FPA
* @num_blocks: Number of blocks
*
* Returns 0 on Success,
* -1 on failure
*/
extern int cvmx_fpa_setup_pool(uint64_t pool, const char *name, void *buffer,
uint64_t block_size, uint64_t num_blocks);
/** /**
* Shutdown a Memory pool and validate that it had all of * Shutdown a Memory pool and validate that it had all of
* the buffers originally placed in it. This should only be * the buffers originally placed in it. This should only be
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment