mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
ACPICA: Local cache support: Allow small cache objects
ACPICA commit 9c54b8bbd483421ef2fef5225c00f1655b4a491c
Remove apparently arbitrary restriction on the size of the cache
objects to 16 (in acpi_os_create_cache). Now, the input object
size must be simply non-zero.
Link: 9c54b8bb
Signed-off-by: Bob Moore <[email protected]>
Signed-off-by: Lv Zheng <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
bee900db6d
commit
c8e8ab1e4c
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ acpi_os_create_cache(char *cache_name,
|
|||
|
||||
ACPI_FUNCTION_ENTRY();
|
||||
|
||||
if (!cache_name || !return_cache || (object_size < 16)) {
|
||||
if (!cache_name || !return_cache || !object_size) {
|
||||
return (AE_BAD_PARAMETER);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue