1
0
Fork 0
alistair23-linux/arch
Fabian Frederick bd721ea73e treewide: replace obsolete _refok by __ref
There was only one use of __initdata_refok and __exit_refok

__init_refok was used 46 times against 82 for __ref.

Those definitions are obsolete since commit 312b1485fb ("Introduce new
section reference annotations tags: __ref, __refdata, __refconst")

This patch removes the following compatibility definitions and replaces
them treewide.

/* compatibility defines */
#define __init_refok     __ref
#define __initdata_refok __refdata
#define __exit_refok     __ref

I can also provide separate patches if necessary.
(One patch per tree and check in 1 month or 2 to remove old definitions)

[akpm@linux-foundation.org: coding-style fixes]
Link: http://lkml.kernel.org/r/1466796271-3043-1-git-send-email-fabf@skynet.be
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-08-02 17:31:41 -04:00
..
alpha treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
arc treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
arm treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
arm64 ARM: 64-bit DT updates for v4.8 2016-08-01 18:47:01 -04:00
avr32 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32 2016-07-29 13:09:55 -07:00
blackfin treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
c6x c6x: Remove unnecessary of_platform_populate with default match table 2016-06-23 14:59:39 -05:00
cris DeviceTree update for 4.8: 2016-07-30 11:32:01 -07:00
frv mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
h8300 locking/atomic: Remove linux/atomic.h:atomic_fetch_or() 2016-06-16 10:48:32 +02:00
hexagon treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
ia64 treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
m32r mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
m68k mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
metag DeviceTree update for 4.8: 2016-07-30 11:32:01 -07:00
microblaze treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
mips treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
mn10300 mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
nios2 treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
openrisc treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
parisc Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2016-07-29 17:38:46 -07:00
powerpc treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
s390 s390/ftrace/jprobes: Fix conflict between jprobes and function graph tracing 2016-07-31 09:28:12 -04:00
score treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
sh treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
sparc sparc64: Trim page tables for 8M hugepages 2016-07-29 10:49:16 -07:00
tile Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2016-07-29 17:38:46 -07:00
um Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2016-07-29 17:38:46 -07:00
unicore32 New LED class driver: 2016-07-27 14:03:52 -07:00
x86 treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
xtensa DeviceTree update for 4.8: 2016-07-30 11:32:01 -07:00
.gitignore
Kconfig Clarify naming of thread info/stack allocators 2016-06-24 15:09:37 -07:00