Module Name: src Committed By: kiyohara Date: Sat Jan 23 06:20:32 UTC 2010
Modified Files: src/sys/arch/ia64/ia64: syscall.c Log Message: Initialize md_syscall in syscall_intern(). But the md_syscall of ia64 not support yet. And remove white-space. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/ia64/ia64/syscall.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/ia64/ia64/syscall.c diff -u src/sys/arch/ia64/ia64/syscall.c:1.4 src/sys/arch/ia64/ia64/syscall.c:1.5 --- src/sys/arch/ia64/ia64/syscall.c:1.4 Mon Jul 20 04:41:37 2009 +++ src/sys/arch/ia64/ia64/syscall.c Sat Jan 23 06:20:31 2010 @@ -1,11 +1,11 @@ -/* $NetBSD: syscall.c,v 1.4 2009/07/20 04:41:37 kiyohara Exp $ */ +/* $NetBSD: syscall.c,v 1.5 2010/01/23 06:20:31 kiyohara Exp $ */ /* * Copyright (c) 2006 The NetBSD Foundation, Inc. * All rights reserved. * * - * Author: + * Author: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,7 +32,7 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.4 2009/07/20 04:41:37 kiyohara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.5 2010/01/23 06:20:31 kiyohara Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -47,8 +47,11 @@ void syscall_intern(struct proc *p) { -printf("%s: not yet\n", __func__); - return; + + if (trace_is_enabled(p)) + p->p_md.md_syscall = syscall_fancy; + else + p->p_md.md_syscall = syscall_plain; } /*