forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/arm/mm/hugetlbpage.c
....@@ -1,22 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * arch/arm/mm/hugetlbpage.c
34 *
45 * Copyright (C) 2012 ARM Ltd.
56 *
67 * Based on arch/x86/include/asm/hugetlb.h and Bill Carson's patches
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License version 2 as
10
- * published by the Free Software Foundation.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License
18
- * along with this program; if not, write to the Free Software
19
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
208 */
219
2210 #include <linux/init.h>
....@@ -29,7 +17,6 @@
2917 #include <asm/mman.h>
3018 #include <asm/tlb.h>
3119 #include <asm/tlbflush.h>
32
-#include <asm/pgalloc.h>
3320
3421 /*
3522 * On ARM, huge pages are backed by pmd's rather than pte's, so we do a lot