summaryrefslogtreecommitdiff
path: root/include/linux/init.h
diff options
context:
space:
mode:
authorTim Abbott <tabbott@MIT.EDU>2009-04-27 22:02:27 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-28 06:51:58 +0400
commit27b1833279995e7c290a40cac4ef36ccea7e9283 (patch)
tree7efbe3f8c9dad692ea7a8bc04c6be2303b1296e6 /include/linux/init.h
parenta0871e8cb8c3f5ee2ecc560ae73a35cd420440f9 (diff)
downloadlinux-27b1833279995e7c290a40cac4ef36ccea7e9283.tar.xz
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 @@
#define __refdata __section(.ref.data)
#define __refconst __section(.ref.rodata)
-/* backward compatibility note
- * A few places hardcode the old section names:
- * .text.init.refok
- * .data.init.refok
- * .exit.text.refok
- * They should be converted to use the defines from this file
- */
-
/* compatibility defines */
#define __init_refok __ref
#define __initdata_refok __refdata