From c15d708c4975c445a7714b0cf48afd77b2f70df2 Mon Sep 17 00:00:00 2001 From: kaloz Date: Mon, 18 May 2009 13:08:46 +0000 Subject: upgrade to 2.6.30-rc6, refresh patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15912 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/004-named_alloc_function.patch | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'target/linux/cavium-octeon/patches/004-named_alloc_function.patch') diff --git a/target/linux/cavium-octeon/patches/004-named_alloc_function.patch b/target/linux/cavium-octeon/patches/004-named_alloc_function.patch index cb0b9100c..a3135f0a8 100644 --- a/target/linux/cavium-octeon/patches/004-named_alloc_function.patch +++ b/target/linux/cavium-octeon/patches/004-named_alloc_function.patch @@ -6,11 +6,9 @@ Signed-off-by: David Daney arch/mips/include/asm/octeon/cvmx-bootmem.h | 85 ++++++++++++++++++ 2 files changed, 186 insertions(+), 0 deletions(-) -diff --git a/arch/mips/cavium-octeon/executive/cvmx-bootmem.c b/arch/mips/cavium-octeon/executive/cvmx-bootmem.c -index 4f5a08b..8972448 100644 --- a/arch/mips/cavium-octeon/executive/cvmx-bootmem.c +++ b/arch/mips/cavium-octeon/executive/cvmx-bootmem.c -@@ -97,6 +97,32 @@ void *cvmx_bootmem_alloc(uint64_t size, uint64_t alignment) +@@ -97,6 +97,32 @@ void *cvmx_bootmem_alloc(uint64_t size, return cvmx_bootmem_alloc_range(size, alignment, 0, 0); } @@ -43,7 +41,7 @@ index 4f5a08b..8972448 100644 int cvmx_bootmem_free_named(char *name) { return cvmx_bootmem_phy_named_block_free(name, 0); -@@ -584,3 +610,78 @@ int cvmx_bootmem_phy_named_block_free(char *name, uint32_t flags) +@@ -584,3 +610,78 @@ int cvmx_bootmem_phy_named_block_free(ch cvmx_bootmem_unlock(); return named_block_ptr != NULL; /* 0 on failure, 1 on success */ } @@ -122,11 +120,9 @@ index 4f5a08b..8972448 100644 + cvmx_spinlock_unlock((cvmx_spinlock_t *)&(cvmx_bootmem_desc->lock)); + return addr_allocated; +} -diff --git a/arch/mips/include/asm/octeon/cvmx-bootmem.h b/arch/mips/include/asm/octeon/cvmx-bootmem.h -index 1cbe4b5..8e708bd 100644 --- a/arch/mips/include/asm/octeon/cvmx-bootmem.h +++ b/arch/mips/include/asm/octeon/cvmx-bootmem.h -@@ -183,6 +183,64 @@ extern void *cvmx_bootmem_alloc_range(uint64_t size, uint64_t alignment, +@@ -183,6 +183,64 @@ extern void *cvmx_bootmem_alloc_range(ui * Returns 0 on failure, * !0 on success */ @@ -191,7 +187,7 @@ index 1cbe4b5..8e708bd 100644 extern int cvmx_bootmem_free_named(char *name); /** -@@ -224,6 +282,33 @@ int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min, +@@ -224,6 +282,33 @@ int64_t cvmx_bootmem_phy_alloc(uint64_t uint32_t flags); /** @@ -225,10 +221,3 @@ index 1cbe4b5..8e708bd 100644 * Finds a named memory block by name. * Also used for finding an unused entry in the named block table. * --- -1.5.6.5 - --- -To unsubscribe from this list: send the line "unsubscribe netdev" in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html \ No newline at end of file -- cgit v1.2.3