aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2022-09-21 08:00:55 -0700
committerTony Luck <tony.luck@intel.com>2022-09-21 08:00:55 -0700
commitbd845af6ae49d614be3f5ed4c2915ac5c1ffbea7 (patch)
treeced5f989ef33879bc96e9735dc161534c99a9bc9
parent0ba123cafe1a1d96f99268ada302c14367244f87 (diff)
downloadras-tools-bd845af6ae49d614be3f5ed4c2915ac5c1ffbea7.tar.gz
ras-tools: Add SPDX license tags
These tools are all under GPLv2. Add the missing tags. Reported-by: Jiaqi Yan <jiaqiyan@google.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r--Makefile2
-rw-r--r--cmcistorm.c2
-rw-r--r--do_memcpy.S2
-rw-r--r--einj_mem_uc.c2
-rw-r--r--hornet.c2
-rw-r--r--lmce.c2
-rw-r--r--mca-recover.c2
-rw-r--r--proc_cpuinfo.c2
-rw-r--r--proc_interrupt.c2
-rw-r--r--proc_pagemap.c2
-rw-r--r--rep_ce_page.c2
-rw-r--r--vtop.c2
12 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ee97592..44b2cad 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+
CFLAGS = -O
all: mca-recover vtop cmcistorm hornet einj_mem_uc lmce rep_ce_page
diff --git a/cmcistorm.c b/cmcistorm.c
index 4f2d38a..e3e3a85 100644
--- a/cmcistorm.c
+++ b/cmcistorm.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
/*
* Copyright (C) 2015 Intel Corporation
* Author: Tony Luck
diff --git a/do_memcpy.S b/do_memcpy.S
index 3aadee6..d04f28b 100644
--- a/do_memcpy.S
+++ b/do_memcpy.S
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
.globl do_memcpy
.type do_memcpy, @function
do_memcpy:
diff --git a/einj_mem_uc.c b/einj_mem_uc.c
index bf6bc44..14c55f6 100644
--- a/einj_mem_uc.c
+++ b/einj_mem_uc.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
/*
* Copyright (C) 2015 Intel Corporation
* Author: Tony Luck
diff --git a/hornet.c b/hornet.c
index 02f985d..bfae9d6 100644
--- a/hornet.c
+++ b/hornet.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
/*
* Copyright (C) 2014 Intel Corporation
* Authors: Tony Luck
diff --git a/lmce.c b/lmce.c
index 971f7ac..b9e8427 100644
--- a/lmce.c
+++ b/lmce.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
#define _GNU_SOURCE
#include <stdio.h>
#include <unistd.h>
diff --git a/mca-recover.c b/mca-recover.c
index f82ae4d..78068c7 100644
--- a/mca-recover.c
+++ b/mca-recover.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
/*
* Copyright (C) 2013 Intel Corporation
* Authors: Tony Luck
diff --git a/proc_cpuinfo.c b/proc_cpuinfo.c
index 97072e0..3048749 100644
--- a/proc_cpuinfo.c
+++ b/proc_cpuinfo.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
/*
* Copyright (C) 2015 Intel Corporation
* Author: Tony Luck
diff --git a/proc_interrupt.c b/proc_interrupt.c
index eaaae88..1942802 100644
--- a/proc_interrupt.c
+++ b/proc_interrupt.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
/*
* Copyright (C) 2015 Intel Corporation
* Author: Tony Luck
diff --git a/proc_pagemap.c b/proc_pagemap.c
index d92aa90..8c78ff6 100644
--- a/proc_pagemap.c
+++ b/proc_pagemap.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
/*
* Copyright (C) 2015 Intel Corporation
* Author: Tony Luck
diff --git a/rep_ce_page.c b/rep_ce_page.c
index e073f6e..0bd3e8d 100644
--- a/rep_ce_page.c
+++ b/rep_ce_page.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
/*
* Copyright (C) 2022 Intel Corporation
* Author: Tony Luck
diff --git a/vtop.c b/vtop.c
index 04c7d32..4009dc1 100644
--- a/vtop.c
+++ b/vtop.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
/*
* Copyright (C) 2014 Intel Corporation
* Authors: Tony Luck