Commit f46818bb authored by Kalesh Singh's avatar Kalesh Singh Committed by Treehugger Robot
Browse files

ANDROID: 16K: Update sysctl_perf_event_mlock if PERF_EVENTS enabled



If the kernel is build with CONFIG_PERF_EVENTS disabled then the build
will fail since the definition of sysctl_perf_event_mlock is compiled
out.

Fix this by only attempting to reinitialize it if CONFIG_PERF_EVENTS
is enabled.

Bug: 374141783
Bug: 374005105
Bug: 366098040
Change-Id: Idfad9a93841bcc94a17365e468736bc14c52eee4
Signed-off-by: default avatarKalesh Singh <kaleshsingh@google.com>
parent 119351fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment