]> git.itanic.dy.fi Git - linux-stable/commit
powerpc/drmem: Make lmb_size 64 bit
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Wed, 7 Oct 2020 11:48:33 +0000 (17:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Nov 2020 10:08:51 +0000 (11:08 +0100)
commit77d89366bc9220195e87ba33a3dd8048990631f3
treee74e2bbeecd10a3bc9dade06e6438d0101c3e6a5
parentc7975bd7fdb7bd8b5d9547acc456f6050bae02f6
powerpc/drmem: Make lmb_size 64 bit

commit ec72024e35dddb88a81e40071c87ceb18b5ee835 upstream.

Similar to commit 89c140bbaeee ("pseries: Fix 64 bit logical memory block panic")
make sure different variables tracking lmb_size are updated to be 64 bit.

This was found by code audit.

Cc: stable@vger.kernel.org
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Acked-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201007114836.282468-2-aneesh.kumar@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/include/asm/drmem.h