Author: ian
Date: Sun Apr 27 20:01:59 2014
New Revision: 265023
URL: http://svnweb.freebsd.org/changeset/base/265023

Log:
  There is no difference between IPI_STOP and IPI_STOP_HARD on ARM, so
  map them both to the same interrupt number like other arches do.

Modified:
  head/sys/arm/arm/mp_machdep.c
  head/sys/arm/include/smp.h

Modified: head/sys/arm/arm/mp_machdep.c
==============================================================================
--- head/sys/arm/arm/mp_machdep.c       Sun Apr 27 19:00:14 2014        
(r265022)
+++ head/sys/arm/arm/mp_machdep.c       Sun Apr 27 20:01:59 2014        
(r265023)
@@ -278,7 +278,6 @@ ipi_handler(void *arg)
                        break;
 
                case IPI_STOP:
-               case IPI_STOP_HARD:
                        /*
                         * IPI_STOP_HARD is mapped to IPI_STOP so it is not
                         * necessary to add it in the switch.

Modified: head/sys/arm/include/smp.h
==============================================================================
--- head/sys/arm/include/smp.h  Sun Apr 27 19:00:14 2014        (r265022)
+++ head/sys/arm/include/smp.h  Sun Apr 27 20:01:59 2014        (r265023)
@@ -10,7 +10,7 @@
 #define IPI_PREEMPT    2
 #define IPI_RENDEZVOUS 3
 #define IPI_STOP       4
-#define IPI_STOP_HARD  5
+#define IPI_STOP_HARD  4
 #define IPI_HARDCLOCK  6
 #define IPI_TLB                7
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to