aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/init.h
diff options
context:
space:
mode:
authorTim Abbott <tabbott@MIT.EDU>2009-04-27 14:02:27 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-27 22:51:58 -0400
commit27b1833279995e7c290a40cac4ef36ccea7e9283 (patch)
tree7efbe3f8c9dad692ea7a8bc04c6be2303b1296e6 /include/linux/init.h
parenta0871e8cb8c3f5ee2ecc560ae73a35cd420440f9 (diff)
Remove unused support code for refok sections.
The old refok sections .text.init.refok .data.init.refok .exit.text.refok have been deprecated since commit 312b1485fb509c9bc32eda28ad29537896658cb8. After the other patches in this patch series nothing is put in these sections, so clean things up by eliminating all the remaining references to them. Signed-off-by: Tim Abbott <tabbott@mit.edu> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/init.h')
-rw-r--r--include/linux/init.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/init.h b/include/linux/init.h
index 20a1334e34e9..0e06c176f185 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -62,14 +62,6 @@
62#define __refdata __section(.ref.data) 62#define __refdata __section(.ref.data)
63#define __refconst __section(.ref.rodata) 63#define __refconst __section(.ref.rodata)
64 64
65/* backward compatibility note
66 * A few places hardcode the old section names:
67 * .text.init.refok
68 * .data.init.refok
69 * .exit.text.refok
70 * They should be converted to use the defines from this file
71 */
72
73/* compatibility defines */ 65/* compatibility defines */
74#define __init_refok __ref 66#define __init_refok __ref
75#define __initdata_refok __refdata 67#define __initdata_refok __refdata