diff options
author | Jon Medhurst (Tixy) <tixy@linaro.org> | 2012-11-28 11:17:51 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2013-04-03 09:20:36 -0700 |
commit | ec53f48a2ebd6b34fdce528535b54e23f2bedda5 (patch) | |
tree | ee8aa5aaca1d591fff0de1a2740d39840ea9dca9 /net/llc/llc_c_st.c | |
parent | 282a776ec6aaa08c0301868c210adfc00b9cbaac (diff) |
ARM: mm: Allow an empty PMD in alloc_init_pte()
The Android patch titled "ARM: allow the kernel text section to
be made read-only" modifies alloc_init_pte() and adds a BUG_ON
to detect the case where a section mapping is being overwritten.
However the test doesn't allow for the legitimate case where the
PMD is empty, as can happen for kernels built with CONFIG_ARM_LPAE.
So extend the test to allow this.
Change-Id: I28eeaefd856bae63a5532980e41e0fd4d8922e79
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'net/llc/llc_c_st.c')
0 files changed, 0 insertions, 0 deletions