| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2001 Dave Engebretsen, IBM Corporation |
|---|
| 3 | 4 | * Copyright (C) 2003 Anton Blanchard <anton@au.ibm.com>, IBM |
|---|
| .. | .. |
|---|
| 5 | 6 | * RTAS specific routines for PCI. |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Based on code from pci.c, chrp_pci.c and pSeries_pci.c |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 10 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 11 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 12 | | - * (at your option) any later version. |
|---|
| 13 | | - * |
|---|
| 14 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 15 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 16 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 17 | | - * GNU General Public License for more details. |
|---|
| 18 | | - * |
|---|
| 19 | | - * You should have received a copy of the GNU General Public License |
|---|
| 20 | | - * along with this program; if not, write to the Free Software |
|---|
| 21 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 22 | 9 | */ |
|---|
| 23 | 10 | |
|---|
| 24 | 11 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 26 | 13 | #include <linux/pci.h> |
|---|
| 27 | 14 | #include <linux/string.h> |
|---|
| 28 | 15 | #include <linux/init.h> |
|---|
| 16 | +#include <linux/pgtable.h> |
|---|
| 29 | 17 | |
|---|
| 30 | 18 | #include <asm/io.h> |
|---|
| 31 | | -#include <asm/pgtable.h> |
|---|
| 32 | 19 | #include <asm/irq.h> |
|---|
| 33 | 20 | #include <asm/prom.h> |
|---|
| 34 | 21 | #include <asm/machdep.h> |
|---|