aboutsummaryrefslogtreecommitdiffstats
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2019-06-03 05:44:46 +0000
committerGreg Kroah-Hartman <[email protected]>2019-06-19 15:09:06 +0000
commit40b0b3f8fb2d8f55d13ceed41593d46689a6b496 (patch)
tree3246ae03f24996e62708065a0ecf3a8302ab9f17 /lib/genalloc.c
parenttreewide: Replace GPLv2 boilerplate/reference with SPDX - rule 226 (diff)
downloadkernel-40b0b3f8fb2d8f55d13ceed41593d46689a6b496.tar.gz
kernel-40b0b3f8fb2d8f55d13ceed41593d46689a6b496.zip
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 230
Based on 2 normalized pattern(s): this source code is licensed under the gnu general public license version 2 see the file copying for more details this source code is licensed under general public license version 2 see extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 52 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Enrico Weigelt <[email protected]> Reviewed-by: Allison Randal <[email protected]> Reviewed-by: Alexios Zavras <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
-rw-r--r--lib/genalloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/genalloc.c b/lib/genalloc.c
index 770c769d7cb7..5257f74fccf3 100644
--- a/lib/genalloc.c
+++ b/lib/genalloc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Basic general purpose allocator for managing special purpose
* memory, for example, memory that is not managed by the regular
@@ -23,9 +24,6 @@
* CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG.
*
* Copyright 2005 (C) Jes Sorensen <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
*/
#include <linux/slab.h>