kern_intr.c (170162) | kern_intr.c (170291) |
---|---|
1/*- 2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org> 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 --- 11 unchanged lines hidden (view full) --- 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org> 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 --- 11 unchanged lines hidden (view full) --- 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/kern/kern_intr.c 170162 2007-05-31 19:25:35Z piso $"); | 28__FBSDID("$FreeBSD: head/sys/kern/kern_intr.c 170291 2007-06-04 21:38:48Z attilio $"); |
29 30#include "opt_ddb.h" 31 32#include <sys/param.h> 33#include <sys/bus.h> 34#include <sys/conf.h> 35#include <sys/rtprio.h> 36#include <sys/systm.h> --- 889 unchanged lines hidden (view full) --- 926 /* 927 * Set ih_need for this handler so that if the ithread is already 928 * running it will execute this handler on the next pass. Otherwise, 929 * it will execute it the next time it runs. 930 */ 931 atomic_store_rel_int(&ih->ih_need, 1); 932 933 if (!(flags & SWI_DELAY)) { | 29 30#include "opt_ddb.h" 31 32#include <sys/param.h> 33#include <sys/bus.h> 34#include <sys/conf.h> 35#include <sys/rtprio.h> 36#include <sys/systm.h> --- 889 unchanged lines hidden (view full) --- 926 /* 927 * Set ih_need for this handler so that if the ithread is already 928 * running it will execute this handler on the next pass. Otherwise, 929 * it will execute it the next time it runs. 930 */ 931 atomic_store_rel_int(&ih->ih_need, 1); 932 933 if (!(flags & SWI_DELAY)) { |
934 PCPU_LAZY_INC(cnt.v_soft); | 934 PCPU_INC(cnt.v_soft); |
935#ifdef INTR_FILTER 936 error = intr_event_schedule_thread(ie, ie->ie_thread); 937#else 938 error = intr_event_schedule_thread(ie); 939#endif 940 KASSERT(error == 0, ("stray software interrupt")); 941 } 942} --- 625 unchanged lines hidden --- | 935#ifdef INTR_FILTER 936 error = intr_event_schedule_thread(ie, ie->ie_thread); 937#else 938 error = intr_event_schedule_thread(ie); 939#endif 940 KASSERT(error == 0, ("stray software interrupt")); 941 } 942} --- 625 unchanged lines hidden --- |