From: Ian Rogers Date: Tue, 30 Aug 2022 16:48:39 +0000 (-0700) Subject: perf smt: Tidy header guard add SPDX X-Git-Tag: v6.1-rc1~50^2~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dcc22efff4b699a12661f34231a96506338da2e;p=thirdparty%2Fkernel%2Fstable.git perf smt: Tidy header guard add SPDX Make the header guard consistent with others. Signed-off-by: Ian Rogers Cc: Alexander Shishkin Cc: Andi Kleen Cc: Caleb Biggers Cc: James Clark Cc: Jiri Olsa Cc: John Garry Cc: Kan Liang Cc: Kshipra Bopardikar Cc: Mark Rutland Cc: Miaoqian Lin Cc: Namhyung Kim Cc: Perry Taylor Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Richter Cc: Xing Zhengjun Cc: florian fischer Link: http://lore.kernel.org/lkml/20220830164846.401143-2-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/smt.c b/tools/perf/util/smt.c index 2b0a36ebf27a3..8fed03283c85d 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 #include #include diff --git a/tools/perf/util/smt.h b/tools/perf/util/smt.h index b8414b7bcbc87..a98d65808f6a8 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 */