[kvm-unit-tests PATCH 1/3] Add LGPL information to some ARM and PPC specific library files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some files are still lacking license information, so add the default LGPL
statement here to make it clear under which conditions the code can be used.

Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
---
 lib/arm/spinlock.c      | 6 ++++++
 lib/powerpc/processor.c | 3 +++
 lib/ppc64/spinlock.c    | 7 +++++++
 3 files changed, 16 insertions(+)

diff --git a/lib/arm/spinlock.c b/lib/arm/spinlock.c
index 116ea5d..ea7e02b 100644
--- a/lib/arm/spinlock.c
+++ b/lib/arm/spinlock.c
@@ -1,3 +1,9 @@
+/*
+ * ARM spinlock implementation
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Library General Public License version 2.
+ */
 #include <libcflat.h>
 #include <asm/spinlock.h>
 #include <asm/barrier.h>
diff --git a/lib/powerpc/processor.c b/lib/powerpc/processor.c
index 056a61f..8910f24 100644
--- a/lib/powerpc/processor.c
+++ b/lib/powerpc/processor.c
@@ -1,5 +1,8 @@
 /*
  * processor control and status function
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Library General Public License version 2.
  */
 
 #include <libcflat.h>
diff --git a/lib/ppc64/spinlock.c b/lib/ppc64/spinlock.c
index 522f8d0..1b26ee1 100644
--- a/lib/ppc64/spinlock.c
+++ b/lib/ppc64/spinlock.c
@@ -1,3 +1,10 @@
+/*
+ * ppc64 (dummy) spinlock implementation
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Library General Public License version 2.
+ */
+
 #include <asm/spinlock.h>
 
 void spin_lock(struct spinlock *lock)
-- 
1.8.3.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux