Message ID | 1493812229-21037-2-git-send-email-thuth@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 03/05/2017 13:50, Thomas Huth wrote: > 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@redhat.com> > --- > 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) > Reviewed-by: Laurent Vivier <lvivier@redhat.com>
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)
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@redhat.com> --- lib/arm/spinlock.c | 6 ++++++ lib/powerpc/processor.c | 3 +++ lib/ppc64/spinlock.c | 7 +++++++ 3 files changed, 16 insertions(+)