Commit b6a23be1 authored by Todd Kjos's avatar Todd Kjos Committed by Treehugger Robot
Browse files

ANDROID: Fix for kernelci !CONFIG_SMP break-breaks



ab9c5214 ("ANDROID: cgroup: Add vendor hook for rebuild_root_domains_bypass")
introduced a hook that declared a parameter whose name collided with a
global variable. If !CONFIG_SMP, this global variable is instead a
compile-time constant which causes this error:

include/linux/cpu.h:101:28: error: expected ‘;’, ‘,’ or ‘)’ before numeric constant

Fixes: ab9c5214 ("ANDROID: cgroup: Add vendor hook for rebuild_root_domains_bypass")
Signed-off-by: default avatarTodd Kjos <tkjos@google.com>
Change-Id: I7831c5067be2ee548e8f6885eec99ab9085414fa
parent 9bc66fe5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment