diff options
author | Wang YanQing <udknight@gmail.com> | 2013-04-23 01:19:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-07 20:08:22 -0700 |
commit | c80044245f076dfef574cbb11b47f2ce611291e2 (patch) | |
tree | ca0929c9b24dee405b28ec276d5c2013deb721cd /fs/jbd2/commit.c | |
parent | 8ee9b0d0b4cd61a9179f07dca81bf996c45543e5 (diff) |
ACPI: Fix wrong parameter passed to memblock_reserve
commit a6432ded299726f123b93d0132fead200551535c upstream.
Commit 53aac44 (ACPI: Store valid ACPI tables passed via early initrd
in reserved memblock areas) introduced acpi_initrd_override() that
passes a wrong value as the second argument to memblock_reserve().
Namely, the second argument of memblock_reserve() is the size of the
region, not the address of the top of it, so make
acpi_initrd_override() pass the size in there as appropriate.
[rjw: Changelog]
Signed-off-by: Wang YanQing <udknight@gmail.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions