Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2014 20:01:59 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265023 - in head/sys/arm: arm include
Message-ID:  <201404272001.s3RK1xtk019014@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404272001.s3RK1xtk019014>