sync with OpenBSD -current
This commit is contained in:
parent
569ffd723a
commit
8a7e26f80e
34 changed files with 1118 additions and 247 deletions
|
@ -259,7 +259,7 @@ __mmio_reg_add(struct temp_regset *regset, struct guc_mmio_reg *reg)
|
|||
|
||||
if (pos >= regset->storage_max) {
|
||||
size_t size = ALIGN((pos + 1) * sizeof(*slot), PAGE_SIZE);
|
||||
#ifdef ___linux__
|
||||
#ifdef __linux__
|
||||
struct guc_mmio_reg *r = krealloc(regset->storage,
|
||||
size, GFP_KERNEL);
|
||||
if (!r) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue