Module Name:    src
Committed By:   jmcneill
Date:           Mon Jul 27 18:36:23 UTC 2020

Modified Files:
        src/sys/arch/arm/cortex: gic.c

Log Message:
Remove CPU ID test in armgic_match. Perfectly normal to have GIC in
non-Cortex cores.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/arm/cortex/gic.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/arm/cortex/gic.c
diff -u src/sys/arch/arm/cortex/gic.c:1.40 src/sys/arch/arm/cortex/gic.c:1.41
--- src/sys/arch/arm/cortex/gic.c:1.40	Sun Jul 12 13:33:44 2020
+++ src/sys/arch/arm/cortex/gic.c	Mon Jul 27 18:36:23 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: gic.c,v 1.40 2020/07/12 13:33:44 skrll Exp $	*/
+/*	$NetBSD: gic.c,v 1.41 2020/07/27 18:36:23 jmcneill Exp $	*/
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -34,7 +34,7 @@
 #define _INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gic.c,v 1.40 2020/07/12 13:33:44 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gic.c,v 1.41 2020/07/27 18:36:23 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -571,8 +571,6 @@ armgic_match(device_t parent, cfdata_t c
 
 	if (strcmp(cf->cf_name, mpcaa->mpcaa_name) != 0)
 		return 0;
-	if (!CPU_ID_CORTEX_P(cputype) || CPU_ID_CORTEX_A8_P(cputype))
-		return 0;
 
 	return 1;
 }

Reply via email to