ioremap() fail on physical address 0x0 in 3.4 kernel
Russell King - ARM Linux
linux at arm.linux.org.uk
Wed Aug 22 07:23:39 EDT 2012
On Wed, Aug 22, 2012 at 10:53:02AM +0100, Russell King - ARM Linux wrote:
> @@ -826,7 +826,7 @@ static void __init fill_pmd_gaps(void)
>
> /* we're still single threaded hence no lock needed here */
> for (vm = vmlist; vm; vm = vm->next) {
> - if (!(vm->flags & VM_ARM_STATIC_MAPPING))
> + if (!(vm->flags & (VM_ARM_STATIC_MAPPING | VM_ARM_EMPTY_MAPPING))
Not forgetting the additional close paren needed here...
More information about the linux-arm-kernel
mailing list