summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/cleancache.c3
-rw-r--r--mm/frontswap.c3
-rw-r--r--mm/huge_memory.c4
-rw-r--r--mm/interval_tree.c3
-rw-r--r--mm/ksm.c3
-rw-r--r--mm/mmu_notifier.c4
-rw-r--r--mm/usercopy.c6
-rw-r--r--mm/userfaultfd.c4
-rw-r--r--mm/vmpressure.c5
9 files changed, 9 insertions, 26 deletions
diff --git a/mm/cleancache.c b/mm/cleancache.c
index 2bf12da9baa0..2397f7c36cc7 100644
--- a/mm/cleancache.c
+++ b/mm/cleancache.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Cleancache frontend 3 * Cleancache frontend
3 * 4 *
@@ -7,8 +8,6 @@
7 * 8 *
8 * Copyright (C) 2009-2010 Oracle Corp. All rights reserved. 9 * Copyright (C) 2009-2010 Oracle Corp. All rights reserved.
9 * Author: Dan Magenheimer 10 * Author: Dan Magenheimer
10 *
11 * This work is licensed under the terms of the GNU GPL, version 2.
12 */ 11 */
13 12
14#include <linux/module.h> 13#include <linux/module.h>
diff --git a/mm/frontswap.c b/mm/frontswap.c
index 157e5bf63504..60bb20e8a951 100644
--- a/mm/frontswap.c
+++ b/mm/frontswap.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Frontswap frontend 3 * Frontswap frontend
3 * 4 *
@@ -7,8 +8,6 @@
7 * 8 *
8 * Copyright (C) 2009-2012 Oracle Corp. All rights reserved. 9 * Copyright (C) 2009-2012 Oracle Corp. All rights reserved.
9 * Author: Dan Magenheimer 10 * Author: Dan Magenheimer
10 *
11 * This work is licensed under the terms of the GNU GPL, version 2.
12 */ 11 */
13 12
14#include <linux/mman.h> 13#include <linux/mman.h>
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index 9f8bce9a6b32..bb8b617e34ed 100644
--- a/mm/huge_memory.c
+++ b/mm/huge_memory.c
@@ -1,8 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2009 Red Hat, Inc. 3 * Copyright (C) 2009 Red Hat, Inc.
3 *
4 * This work is licensed under the terms of the GNU GPL, version 2. See
5 * the COPYING file in the top-level directory.
6 */ 4 */
7 5
8#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 6#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/mm/interval_tree.c b/mm/interval_tree.c
index 27ddfd29112a..11c75fb07584 100644
--- a/mm/interval_tree.c
+++ b/mm/interval_tree.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * mm/interval_tree.c - interval tree for mapping->i_mmap 3 * mm/interval_tree.c - interval tree for mapping->i_mmap
3 * 4 *
4 * Copyright (C) 2012, Michel Lespinasse <walken@google.com> 5 * Copyright (C) 2012, Michel Lespinasse <walken@google.com>
5 *
6 * This file is released under the GPL v2.
7 */ 6 */
8 7
9#include <linux/mm.h> 8#include <linux/mm.h>
diff --git a/mm/ksm.c b/mm/ksm.c
index 81c20ed57bf6..3dc4346411e4 100644
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Memory merging support. 3 * Memory merging support.
3 * 4 *
@@ -10,8 +11,6 @@
10 * Andrea Arcangeli 11 * Andrea Arcangeli
11 * Chris Wright 12 * Chris Wright
12 * Hugh Dickins 13 * Hugh Dickins
13 *
14 * This work is licensed under the terms of the GNU GPL, version 2.
15 */ 14 */
16 15
17#include <linux/errno.h> 16#include <linux/errno.h>
diff --git a/mm/mmu_notifier.c b/mm/mmu_notifier.c
index ee36068077b6..513b9607409d 100644
--- a/mm/mmu_notifier.c
+++ b/mm/mmu_notifier.c
@@ -1,12 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/mm/mmu_notifier.c 3 * linux/mm/mmu_notifier.c
3 * 4 *
4 * Copyright (C) 2008 Qumranet, Inc. 5 * Copyright (C) 2008 Qumranet, Inc.
5 * Copyright (C) 2008 SGI 6 * Copyright (C) 2008 SGI
6 * Christoph Lameter <cl@linux.com> 7 * Christoph Lameter <cl@linux.com>
7 *
8 * This work is licensed under the terms of the GNU GPL, version 2. See
9 * the COPYING file in the top-level directory.
10 */ 8 */
11 9
12#include <linux/rculist.h> 10#include <linux/rculist.h>
diff --git a/mm/usercopy.c b/mm/usercopy.c
index 14faadcedd06..2a09796edef8 100644
--- a/mm/usercopy.c
+++ b/mm/usercopy.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * This implements the various checks for CONFIG_HARDENED_USERCOPY*, 3 * This implements the various checks for CONFIG_HARDENED_USERCOPY*,
3 * which are designed to protect kernel memory from needless exposure 4 * which are designed to protect kernel memory from needless exposure
@@ -6,11 +7,6 @@
6 * 7 *
7 * Copyright (C) 2001-2016 PaX Team, Bradley Spengler, Open Source 8 * Copyright (C) 2001-2016 PaX Team, Bradley Spengler, Open Source
8 * Security Inc. 9 * Security Inc.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 *
14 */ 10 */
15#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 11#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
16 12
diff --git a/mm/userfaultfd.c b/mm/userfaultfd.c
index 9932d5755e4c..c7ae74ce5ff3 100644
--- a/mm/userfaultfd.c
+++ b/mm/userfaultfd.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * mm/userfaultfd.c 3 * mm/userfaultfd.c
3 * 4 *
4 * Copyright (C) 2015 Red Hat, Inc. 5 * Copyright (C) 2015 Red Hat, Inc.
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2. See
7 * the COPYING file in the top-level directory.
8 */ 6 */
9 7
10#include <linux/mm.h> 8#include <linux/mm.h>
diff --git a/mm/vmpressure.c b/mm/vmpressure.c
index 4854584ec436..f3b50811497a 100644
--- a/mm/vmpressure.c
+++ b/mm/vmpressure.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Linux VM pressure 3 * Linux VM pressure
3 * 4 *
@@ -6,10 +7,6 @@
6 * 7 *
7 * Based on ideas from Andrew Morton, David Rientjes, KOSAKI Motohiro, 8 * Based on ideas from Andrew Morton, David Rientjes, KOSAKI Motohiro,
8 * Leonid Moiseichuk, Mel Gorman, Minchan Kim and Pekka Enberg. 9 * Leonid Moiseichuk, Mel Gorman, Minchan Kim and Pekka Enberg.
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License version 2 as published
12 * by the Free Software Foundation.
13 */ 10 */
14 11
15#include <linux/cgroup.h> 12#include <linux/cgroup.h>