diff options
author | Huang Ying <[email protected]> | 2008-08-15 00:40:23 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-08-15 08:35:42 -0700 |
commit | fb45daa69d287b394eca1619b3fadff7c0215c71 (patch) | |
tree | aeb5a247b105d3b7e7ef2cdb0db5743574d9c480 /net/unix/sysctl_net_unix.c | |
parent | 163f6876f5c3ff8215e900b93779e960a56b3694 (diff) |
kexec jump: check code size in control page
Kexec/Kexec-jump require code size in control page is less than
PAGE_SIZE/2. This patch add link-time checking for this.
ASSERT() of ld link script is used as the link-time checking mechanism.
[[email protected]: build fix]
Signed-off-by: Huang Ying <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Acked-by: Vivek Goyal <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions