btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / system / kernel / arch / x86 / arch_commpage.cpp
blobccb142f3c267583ba4e1a5fdd11d452aa896047b
1 /*
2 * Copyright 2008-2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Copyright 2007, Travis Geiselbrecht. All rights reserved.
4 * Distributed under the terms of the MIT License.
5 */
8 #include <commpage.h>
10 #include "x86_signals.h"
11 #include "x86_syscalls.h"
14 status_t
15 arch_commpage_init(void)
17 return B_OK;
21 status_t
22 arch_commpage_init_post_cpus(void)
24 // select the optimum syscall mechanism and patch the commpage
25 x86_initialize_syscall();
27 // initialize the signal handler code in the commpage
28 x86_initialize_commpage_signal_handler();
30 return B_OK;