| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org> |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | 4 | */ |
|---|
| 8 | 5 | |
|---|
| 9 | 6 | #include <linux/efi.h> |
|---|
| .. | .. |
|---|
| 11 | 8 | #include <asm/mach/map.h> |
|---|
| 12 | 9 | #include <asm/mmu_context.h> |
|---|
| 13 | 10 | |
|---|
| 14 | | -static int __init set_permissions(pte_t *ptep, pgtable_t token, |
|---|
| 15 | | - unsigned long addr, void *data) |
|---|
| 11 | +static int __init set_permissions(pte_t *ptep, unsigned long addr, void *data) |
|---|
| 16 | 12 | { |
|---|
| 17 | 13 | efi_memory_desc_t *md = data; |
|---|
| 18 | 14 | pte_t pte = *ptep; |
|---|