x86/brk: make the brk reservation symbols inaccessible from C
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Sun, 15 Mar 2009 06:19:38 +0000 (23:19 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 17 Mar 2009 19:56:52 +0000 (12:56 -0700)
commit0b1c723d0bd199300a1a2de57a46000d17577498
treefbc5ae907b8bc9053ab3fc1f8a83c1bd938d2094
parent60ac98213914cc615c67e84bfb964aa95a080d13
x86/brk: make the brk reservation symbols inaccessible from C

Impact: bulletproofing, clarification

The brk reservation symbols are just there to document the amount
of space reserved by brk users in the final vmlinux file.  Their
addresses are irrelevent, and using their addresses will cause
certain havok.  Name them ".brk.NAME", which is a valid asm symbol
but C can't reference it; it also highlights their special
role in the symbol table.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/include/asm/setup.h