aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2009-12-14 14:55:11 +0100
committerAndi Kleen <ak@linux.intel.com>2009-12-14 14:55:11 +0100
commit2c656a623aab29844351e7a8d49bf91969bb4d2f (patch)
treea2bd1eabcc9009183a47eaf9f7e2188fbde62146
parentcee27cf089e9818454886a9f0fb316d8e9983606 (diff)
downloadmce-test-2c656a623aab29844351e7a8d49bf91969bb4d2f.tar.gz
Add copyright headers
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r--tsrc/tinjpage.c2
-rw-r--r--tsrc/tsoftinj.c23
2 files changed, 24 insertions, 1 deletions
diff --git a/tsrc/tinjpage.c b/tsrc/tinjpage.c
index bb2493c..4772ba5 100644
--- a/tsrc/tinjpage.c
+++ b/tsrc/tinjpage.c
@@ -2,6 +2,8 @@
* Test program for Linux poison memory error recovery.
* This injects poison into various mapping cases and triggers the poison
* handling. Requires special injection support in the kernel.
+ *
+ * Copyright 2009 Intel Corporation
*
* tinjpage is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
diff --git a/tsrc/tsoftinj.c b/tsrc/tsoftinj.c
index e48c912..ee03aa0 100644
--- a/tsrc/tsoftinj.c
+++ b/tsrc/tsoftinj.c
@@ -1,4 +1,25 @@
-/* Test soft page offline for process pages using madvise injector */
+/*
+ * Test soft page offline for process pages using madvise injector.
+ * Requires special injection support in the kernel.
+ *
+ * Copyright 2009 Intel Corporation
+ *
+ * tsoftinj is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation; version
+ * 2.
+ *
+ * tinjpage is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should find a copy of v2 of the GNU General Public License somewhere
+ * on your Linux system; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Andi Kleen
+ */
#define _GNU_SOURCE 1
#include <sys/mman.h>
#include <stdio.h>