aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorChris Metcalf <[email protected]>2016-11-07 19:32:02 +0000
committerChris Metcalf <[email protected]>2016-11-14 21:46:41 +0000
commite123386bc31bbf467dc558f2f919de0b8b4ba58c (patch)
tree547970f8b4d4738328445bacc2431753b3faf6e0 /drivers/net/xen-netfront.c
parentLinux 4.9-rc4 (diff)
downloadkernel-e123386bc31bbf467dc558f2f919de0b8b4ba58c.tar.gz
kernel-e123386bc31bbf467dc558f2f919de0b8b4ba58c.zip
tile: handle __ro_after_init like parisc does
The tile architecture already marks RO_DATA as read-only in the kernel, so grouping RO_AFTER_INIT_DATA with RO_DATA, as is done by default, means the kernel faults in init when it tries to write to RO_AFTER_INIT_DATA. For now, just arrange that __ro_after_init is handled like __write_once, i.e. __read_mostly. Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Chris Metcalf <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions