From 253e3c90d0f2adcd967c569d35d5d97035c6501e Mon Sep 17 00:00:00 2001 From: Zoran Markovic Date: Tue, 21 Jan 2014 16:38:09 -0800 Subject: Fixed Launchpad bug #1269454 Added GPLv2 copyright headers. --- Android.mk | 8 ++++++++ Makefile | 8 ++++++++ idlestat.c | 21 +++++++++++++++++++++ idlestat.h | 22 +++++++++++++++++++++- list.h | 21 +++++++++++++++++++++ topology.c | 29 ++++++++++++++++++++--------- topology.h | 22 +++++++++++++++++++++- trace.c | 21 +++++++++++++++++++++ trace.h | 22 +++++++++++++++++++++- utils.c | 22 +++++++++++++++++++++- utils.h | 22 +++++++++++++++++++++- 11 files changed, 204 insertions(+), 14 deletions(-) diff --git a/Android.mk b/Android.mk index e4c1696..16e55bd 100644 --- a/Android.mk +++ b/Android.mk @@ -1,3 +1,11 @@ +# +# Android.mk +# +# Copyright (C) 2014 Zoran Markovic +# +# This file is subject to the terms and conditions of the GNU General Public +# License, version 2. +# LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) diff --git a/Makefile b/Makefile index 9187b94..967cd04 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,11 @@ +# +# Makefile +# +# Copyright (C) 2014 Zoran Markovic +# +# This file is subject to the terms and conditions of the GNU General Public +# License version 2. +# CFLAGS?=-g -Wall CC?=gcc diff --git a/idlestat.c b/idlestat.c index a1bc574..e023f82 100644 --- a/idlestat.c +++ b/idlestat.c @@ -1,3 +1,24 @@ +/* + * idlestat.c + * + * Copyright (C) 2014 Zoran Markovic + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * This program 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 of the License. + * + * This program 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 have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ #define _GNU_SOURCE #include #include diff --git a/idlestat.h b/idlestat.h index f753dc0..2c03bfd 100644 --- a/idlestat.h +++ b/idlestat.h @@ -1,4 +1,24 @@ - +/* + * idlestat.h + * + * Copyright (C) 2014 Zoran Markovic + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * This program 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 of the License. + * + * This program 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 have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ #ifndef __IDLESTAT_H #define __IDLESTAT_H diff --git a/list.h b/list.h index 6db4c62..cc1618f 100644 --- a/list.h +++ b/list.h @@ -1,3 +1,24 @@ +/* + * list.h + * + * Copyright (C) 2014 Zoran Markovic + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * This program 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 of the License. + * + * This program 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 have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ #ifndef _LINUX_LIST_H #define _LINUX_LIST_H diff --git a/topology.c b/topology.c index 6f5699d..052ddb9 100644 --- a/topology.c +++ b/topology.c @@ -1,16 +1,27 @@ -/***************************************************************************** - * Copyright (C) 2013, Linaro Limited. - * - * This file is part of cpu_topology. +/* + * topology.c * - * All rights reserved. + * Copyright (C) 2014 Zoran Markovic * - * Contributors: + * Contributors: * Shaojie Sun (Hislicon technologies) - * - initial API and implementation * - *****************************************************************************/ - + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * This program 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 of the License. + * + * This program 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 have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ #define _GNU_SOURCE #include diff --git a/topology.h b/topology.h index 5cf10e6..596ff34 100644 --- a/topology.h +++ b/topology.h @@ -1,4 +1,24 @@ - +/* + * topology.h + * + * Copyright (C) 2014 Zoran Markovic + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * This program 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 of the License. + * + * This program 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 have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ #ifndef __TOPOLOGY_H #define __TOPOLOGY_H diff --git a/trace.c b/trace.c index 4749abe..a22d3f6 100644 --- a/trace.c +++ b/trace.c @@ -1,3 +1,24 @@ +/* + * trace.c + * + * Copyright (C) 2014 Zoran Markovic + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * This program 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 of the License. + * + * This program 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 have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ #define _GNU_SOURCE #include #include diff --git a/trace.h b/trace.h index fb98351..e5c2c99 100644 --- a/trace.h +++ b/trace.h @@ -1,4 +1,24 @@ - +/* + * trace.h + * + * Copyright (C) 2014 Zoran Markovic + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * This program 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 of the License. + * + * This program 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 have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ #ifndef __TRACE_H #define __TRACE_H diff --git a/utils.c b/utils.c index e391a6d..1935e26 100644 --- a/utils.c +++ b/utils.c @@ -1,4 +1,24 @@ - +/* + * utils.c + * + * Copyright (C) 2014 Zoran Markovic + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * This program 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 of the License. + * + * This program 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 have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ #define _GNU_SOURCE #include #undef _GNU_SOURCE diff --git a/utils.h b/utils.h index acd226a..254df32 100644 --- a/utils.h +++ b/utils.h @@ -1,4 +1,24 @@ - +/* + * utils.h + * + * Copyright (C) 2014 Zoran Markovic + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * This program 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 of the License. + * + * This program 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 have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ #ifndef __UTILS_H #define __UTILS_H -- cgit v1.2.3