2013-10-03 10:21:30

by Kirill Tkhai

[permalink] [raw]
Subject: [PATCH][resend]scripts/tags.sh: Increase identifier list

Add __maybe_unused
__always_unused
__cacheline_aligned
__cacheline_aligned_in_smp
ACPI_EXPORT_SYMBOL
to the list.

Signed-off-by: Kirill Tkhai <[email protected]>
CC: Michal Marek <[email protected]>
CC: Andrew Morton <[email protected]>
---
scripts/tags.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 74f02e4..f1bcfc1 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -151,13 +151,14 @@ exuberant()
all_target_sources | xargs $1 -a \
-I __initdata,__exitdata,__initconst,__devinitdata \
-I __devinitconst,__cpuinitdata,__initdata_memblock \
- -I __refdata,__attribute \
+ -I __refdata,__attribute,__maybe_unused,__always_unused \
-I __acquires,__releases,__deprecated \
-I __read_mostly,__aligned,____cacheline_aligned \
-I ____cacheline_aligned_in_smp \
+ -I __cacheline_aligned,__cacheline_aligned_in_smp \
-I ____cacheline_internodealigned_in_smp \
-I __used,__packed,__packed2__,__must_check,__must_hold \
- -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
+ -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL,ACPI_EXPORT_SYMBOL \
-I DEFINE_TRACE,EXPORT_TRACEPOINT_SYMBOL,EXPORT_TRACEPOINT_SYMBOL_GPL \
-I static,const \
--extra=+f --c-kinds=+px \


2013-10-23 13:09:57

by Michal Marek

[permalink] [raw]
Subject: Re: [PATCH][resend]scripts/tags.sh: Increase identifier list

On Thu, Oct 03, 2013 at 02:13:32PM +0400, Kirill Tkhai wrote:
> Add __maybe_unused
> __always_unused
> __cacheline_aligned
> __cacheline_aligned_in_smp
> ACPI_EXPORT_SYMBOL
> to the list.
>
> Signed-off-by: Kirill Tkhai <[email protected]>
> CC: Michal Marek <[email protected]>
> CC: Andrew Morton <[email protected]>
> ---
> scripts/tags.sh | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)

I took the patch from the mm tree and applied to kbuild.git#misc now.
Sorry for the delay.

Michal