diff options
author | Ian Rogers <irogers@google.com> | 2022-08-30 19:48:39 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-04 14:55:20 +0300 |
commit | 9dcc22efff4b699a12661f34231a96506338da2e (patch) | |
tree | aaaaf5119b9ac6f6009c727f9b8d951a72a0cc0c | |
parent | fb42f8b729f431b53acfaa8bf1b4d43b98e62e14 (diff) | |
download | linux-9dcc22efff4b699a12661f34231a96506338da2e.tar.xz |
perf smt: Tidy header guard add SPDX
Make the header guard consistent with others.
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Caleb Biggers <caleb.biggers@intel.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.garry@huawei.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Kshipra Bopardikar <kshipra.bopardikar@intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Miaoqian Lin <linmq006@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Perry Taylor <perry.taylor@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
Cc: florian fischer <florian.fischer@muhq.space>
Link: http://lore.kernel.org/lkml/20220830164846.401143-2-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/util/smt.c | 1 | ||||
-rw-r--r-- | tools/perf/util/smt.h | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tools/perf/util/smt.c b/tools/perf/util/smt.c index 2b0a36ebf27a..8fed03283c85 100644 --- a/tools/perf/util/smt.c +++ b/tools/perf/util/smt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/tools/perf/util/smt.h b/tools/perf/util/smt.h index b8414b7bcbc8..a98d65808f6a 100644 --- a/tools/perf/util/smt.h +++ b/tools/perf/util/smt.h @@ -1,6 +1,7 @@ -#ifndef SMT_H -#define SMT_H 1 +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SMT_H +#define __SMT_H 1 int smt_on(void); -#endif +#endif /* __SMT_H */ |