diff mbox

[kvm-unit-tests,3/3] Add a copyright/license header for the ARM spinlock test

Message ID 1493812229-21037-4-git-send-email-thuth@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Huth May 3, 2017, 11:50 a.m. UTC
According to the changelog, the code has been taken from the
tcg_baremetal_tests from Virtual Open Systems, so we should
include the original copyright notice here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 arm/spinlock-test.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Laurent Vivier May 3, 2017, 12:35 p.m. UTC | #1
On 03/05/2017 13:50, Thomas Huth wrote:
> According to the changelog, the code has been taken from the
> tcg_baremetal_tests from Virtual Open Systems, so we should
> include the original copyright notice here.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>  arm/spinlock-test.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arm/spinlock-test.c b/arm/spinlock-test.c
> index 7676a15..b2fdbab 100644
> --- a/arm/spinlock-test.c
> +++ b/arm/spinlock-test.c
> @@ -1,3 +1,15 @@
> +/*
> + * Spinlock test
> + *
> + * This code is based on code from the tcg_baremetal_tests.
> + *
> + * Copyright (C) 2015 Virtual Open Systems SAS
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + */
> +
>  #include <libcflat.h>
>  #include <asm/smp.h>
>  #include <asm/cpumask.h>
> 
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
diff mbox

Patch

diff --git a/arm/spinlock-test.c b/arm/spinlock-test.c
index 7676a15..b2fdbab 100644
--- a/arm/spinlock-test.c
+++ b/arm/spinlock-test.c
@@ -1,3 +1,15 @@ 
+/*
+ * Spinlock test
+ *
+ * This code is based on code from the tcg_baremetal_tests.
+ *
+ * Copyright (C) 2015 Virtual Open Systems SAS
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
 #include <libcflat.h>
 #include <asm/smp.h>
 #include <asm/cpumask.h>