Merge pull request #180516 from Atemu/kernel-disable-ashmem
linux: disable ASHMEM on >= 5.18
This commit is contained in:
commit
b2d57db6c2
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ in
|
|||
system.requiredKernelConfig = with config.lib.kernelConfig; [
|
||||
(isEnabled "ANDROID_BINDER_IPC")
|
||||
(isEnabled "ANDROID_BINDERFS")
|
||||
(isEnabled "ASHMEM")
|
||||
(isEnabled "ASHMEM") # FIXME Needs memfd support instead on Linux 5.18 and waydroid 1.2.1
|
||||
];
|
||||
|
||||
/* NOTE: we always enable this flag even if CONFIG_PSI_DEFAULT_DISABLED is not on
|
||||
|
|
|
@ -913,7 +913,7 @@ let
|
|||
|
||||
FSL_MC_UAPI_SUPPORT = mkIf (stdenv.hostPlatform.system == "aarch64-linux") (whenAtLeast "5.12" yes);
|
||||
|
||||
ASHMEM = { optional = true; tristate = whenAtLeast "5.0" "y";};
|
||||
ASHMEM = { optional = true; tristate = whenBetween "5.0" "5.18" "y";};
|
||||
ANDROID = { optional = true; tristate = whenAtLeast "5.0" "y";};
|
||||
ANDROID_BINDER_IPC = { optional = true; tristate = whenAtLeast "5.0" "y";};
|
||||
ANDROID_BINDERFS = { optional = true; tristate = whenAtLeast "5.0" "y";};
|
||||
|
|
Loading…
Reference in a new issue