diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2012-10-25 10:23:31 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-12-13 11:00:39 -0500 |
commit | abe77f90dc9c65a7c9a4d61c2cbb8db4d5566e4f (patch) | |
tree | 69fd0cfe31a9041e8e1a881829c011892075ea2c /arch/mips/cavium-octeon/executive/cvmx-bootmem.c | |
parent | 7aa1c8f47e7e792d11f898cbdddaf6fa21ff08cc (diff) |
MIPS: Octeon: Add kexec and kdump support
[ralf@linux-mips.org: Original patch by Maxim Uvarov <muvarov@gmail.com>
with plenty of further shining, polishing, debugging and testing by me.]
Signed-off-by: Maxim Uvarov <muvarov@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: kexec@lists.infradead.org
Cc: horms@verge.net.au
Patchwork: https://patchwork.linux-mips.org/patch/1026/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cavium-octeon/executive/cvmx-bootmem.c')
-rw-r--r-- | arch/mips/cavium-octeon/executive/cvmx-bootmem.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-bootmem.c b/arch/mips/cavium-octeon/executive/cvmx-bootmem.c index fdf5f19bfdb0..6d5ddbc112cc 100644 --- a/arch/mips/cavium-octeon/executive/cvmx-bootmem.c +++ b/arch/mips/cavium-octeon/executive/cvmx-bootmem.c | |||
@@ -688,3 +688,8 @@ int64_t cvmx_bootmem_phy_named_block_alloc(uint64_t size, uint64_t min_addr, | |||
688 | cvmx_spinlock_unlock((cvmx_spinlock_t *)&(cvmx_bootmem_desc->lock)); | 688 | cvmx_spinlock_unlock((cvmx_spinlock_t *)&(cvmx_bootmem_desc->lock)); |
689 | return addr_allocated; | 689 | return addr_allocated; |
690 | } | 690 | } |
691 | |||
692 | struct cvmx_bootmem_desc *cvmx_bootmem_get_desc(void) | ||
693 | { | ||
694 | return cvmx_bootmem_desc; | ||
695 | } | ||