diff options
author | Stefano Stabellini <[email protected]> | 2015-05-06 14:13:31 +0000 |
---|---|---|
committer | David Vrabel <[email protected]> | 2015-05-28 12:23:11 +0100 |
commit | 5882bfef6327093bff63569be19795170ff71e5f (patch) | |
tree | 11aa43fab514a95bc53dd063f3f02bee90d7ff17 /net/unix/sysctl_net_unix.c | |
parent | 81e863c3a28e69fd60411bde9f779b0f8ad0212a (diff) |
arm,arm64/xen: move Xen initialization earlier
Currently, Xen is initialized/discovered in an initcall. This doesn't
allow us to support earlyprintk or choosing the preferred console when
running on Xen.
The current function xen_guest_init is now split in 2 parts:
- xen_early_init: Check if there is a Xen node in the device tree
and setup domain type
- xen_guest_init: Retrieve the information from the device node and
initialize Xen (grant table, shared page...)
The former is called in setup_arch, while the latter is an initcall.
Signed-off-by: Stefano Stabellini <[email protected]>
Signed-off-by: Julien Grall <[email protected]>
Acked-by: Ian Campbell <[email protected]>
Acked-by: Will Deacon <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions