Hi Ingo, I'm not the only one to break the build today :))
gcc4 fix. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23397 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -60,7 +60,7 @@ init_amd_syscall_registers(void* dummy, int cpuNum)
|
|||||||
static status_t
|
static status_t
|
||||||
initialize_commpage_syscall(void)
|
initialize_commpage_syscall(void)
|
||||||
{
|
{
|
||||||
void* syscallCode = &_user_syscall_int;
|
void* syscallCode = (void *)&_user_syscall_int;
|
||||||
void* syscallCodeEnd = &_user_syscall_int_end;
|
void* syscallCodeEnd = &_user_syscall_int_end;
|
||||||
|
|
||||||
// check syscall
|
// check syscall
|
||||||
@@ -71,7 +71,7 @@ initialize_commpage_syscall(void)
|
|||||||
dprintf("initialize_commpage_syscall(): sysenter/sysexit supported\n");
|
dprintf("initialize_commpage_syscall(): sysenter/sysexit supported\n");
|
||||||
|
|
||||||
// the code to be used in userland
|
// the code to be used in userland
|
||||||
syscallCode = &_user_syscall_sysenter;
|
syscallCode = (void *)&_user_syscall_sysenter;
|
||||||
syscallCodeEnd = &_user_syscall_sysenter_end;
|
syscallCodeEnd = &_user_syscall_sysenter_end;
|
||||||
|
|
||||||
// tell all CPUs to init their sysenter/sysexit related registers
|
// tell all CPUs to init their sysenter/sysexit related registers
|
||||||
|
|||||||
Reference in New Issue
Block a user