aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2018-10-17 11:18:31 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2018-10-19 17:25:08 +1100
commitc1cea06b579e5bbffb2e2ed6019af1a4d7369aa7 (patch)
tree75e96de5f1fe857b29a1ff9222012682b9fea28a
parent284c6a94abf94a91034d3d1785e40912a57843e9 (diff)
download96b-common-c1cea06b579e5bbffb2e2ed6019af1a4d7369aa7.tar.gz
memblock-warn-if-zero-alignment-was-requested-fix-fix
add apologetic comment Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Guenter Roeck <linux@roeck-us.net> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Mike Rapoport <rppt@linux.vnet.ibm.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--mm/memblock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/memblock.c b/mm/memblock.c
index f2ef3915a356..eddcac228ff9 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -1299,6 +1299,7 @@ static phys_addr_t __init memblock_alloc_range_nid(phys_addr_t size,
phys_addr_t found;
if (!align) {
+ /* Can't use WARNs this early in boot on powerpc */
dump_stack();
align = SMP_CACHE_BYTES;
}