diff options
author | Frediano Ziglio <frediano.ziglio@citrix.com> | 2013-02-14 12:37:13 +0000 |
---|---|---|
committer | Keir <keir.xen@gmail.com> | 2013-02-21 16:15:33 +0000 |
commit | 68ca0bc4ba2f70d50b4c5eecbba53ce113bd8ad6 (patch) | |
tree | 977daad21d116d101b477a903f6e19e53cf14a1a /xen/arch/x86/setup.c | |
parent | 82639998a5f2afce55990c387dfdf06e032803e6 (diff) | |
download | xen-68ca0bc4ba2f70d50b4c5eecbba53ce113bd8ad6.tar.gz xen-68ca0bc4ba2f70d50b4c5eecbba53ce113bd8ad6.tar.bz2 xen-68ca0bc4ba2f70d50b4c5eecbba53ce113bd8ad6.zip |
gcov: Call constructors during initialization
This allow modules to set initializer functions.
This is used by Gcc instrumentation code for profiling arcs and test
coverage.
Diffstat (limited to 'xen/arch/x86/setup.c')
-rw-r--r-- | xen/arch/x86/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index 55666c7627..43301a5360 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -1378,6 +1378,8 @@ void __init __start_xen(unsigned long mbi_p) init_trace_bufs(); + init_constructors(); + console_endboot(); /* Hide UART from DOM0 if we're using it */ |