diff options
Diffstat (limited to 'drivers/firmware/memmap.c')
| -rw-r--r-- | drivers/firmware/memmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firmware/memmap.c b/drivers/firmware/memmap.c index 2a23453f005a..d168c87c7d30 100644 --- a/drivers/firmware/memmap.c +++ b/drivers/firmware/memmap.c | |||
| @@ -333,7 +333,8 @@ int __init firmware_map_add_early(u64 start, u64 end, const char *type) | |||
| 333 | { | 333 | { |
| 334 | struct firmware_map_entry *entry; | 334 | struct firmware_map_entry *entry; |
| 335 | 335 | ||
| 336 | entry = memblock_alloc(sizeof(struct firmware_map_entry), 0); | 336 | entry = memblock_alloc(sizeof(struct firmware_map_entry), |
| 337 | SMP_CACHE_BYTES); | ||
| 337 | if (WARN_ON(!entry)) | 338 | if (WARN_ON(!entry)) |
| 338 | return -ENOMEM; | 339 | return -ENOMEM; |
| 339 | 340 | ||
