Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a4c28ab7 authored by Akinobu Mita's avatar Akinobu Mita Committed by Paul Mackerras
Browse files

[POWERPC] Fix return from pte_alloc_one() in out-of-memory case



pte_alloc_one() is expected to return NULL if out of memory.
But it returns virt_to_page(NULL), which is not NULL.
This fixes it.

Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: default avatarAkinobu Mita <mita@fixstars.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 66b30922
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment