vlapic.c (232624) | vlapic.c (234761) |
---|---|
1/*- 2 * Copyright (c) 2011 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 764 unchanged lines hidden (view full) --- 773 vlapic_op_init(vlapic); 774 775 return (vlapic); 776} 777 778void 779vlapic_cleanup(struct vlapic *vlapic) 780{ | 1/*- 2 * Copyright (c) 2011 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 764 unchanged lines hidden (view full) --- 773 vlapic_op_init(vlapic); 774 775 return (vlapic); 776} 777 778void 779vlapic_cleanup(struct vlapic *vlapic) 780{ |
781 vlapic_op_halt(vlapic); |
|
781 vdev_unregister(vlapic); 782 free(vlapic, M_VLAPIC); 783} | 782 vdev_unregister(vlapic); 783 free(vlapic, M_VLAPIC); 784} |