From patchwork Wed May 3 11:50:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 9709509 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DF3B26021C for ; Wed, 3 May 2017 11:50:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA24228601 for ; Wed, 3 May 2017 11:50:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE0EB2860F; Wed, 3 May 2017 11:50:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D2D528601 for ; Wed, 3 May 2017 11:50:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751903AbdECLus (ORCPT ); Wed, 3 May 2017 07:50:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58184 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751446AbdECLus (ORCPT ); Wed, 3 May 2017 07:50:48 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8BDCD61B9D for ; Wed, 3 May 2017 11:50:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8BDCD61B9D Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=thuth@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 8BDCD61B9D Received: from thh440s.redhat.com (ovpn-116-53.ams2.redhat.com [10.36.116.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id 86EB278DAD; Wed, 3 May 2017 11:50:43 +0000 (UTC) From: Thomas Huth To: kvm@vger.kernel.org, rkrcmar@redhat.com Cc: pbonzini@redhat.com, drjones@redhat.com, david@redhat.com, lvivier@redhat.com Subject: [kvm-unit-tests PATCH 1/3] Add LGPL information to some ARM and PPC specific library files Date: Wed, 3 May 2017 13:50:27 +0200 Message-Id: <1493812229-21037-2-git-send-email-thuth@redhat.com> In-Reply-To: <1493812229-21037-1-git-send-email-thuth@redhat.com> References: <1493812229-21037-1-git-send-email-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 03 May 2017 11:50:47 +0000 (UTC) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Laurent Vivier --- 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 #include #include 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 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 void spin_lock(struct spinlock *lock)