Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/aarch64



On 01/10/2020 07:40, Ryo Shimizu wrote:
Module Name:	src
Committed By:	ryo
Date:		Thu Oct  1 06:40:16 UTC 2020

Modified Files:
	src/sys/arch/aarch64/aarch64: procfs_machdep.c
	src/sys/arch/aarch64/include: cpu.h

Log Message:
fix build error with LLVM
[...]

Index: src/sys/arch/aarch64/include/cpu.h
diff -u src/sys/arch/aarch64/include/cpu.h:1.27 src/sys/arch/aarch64/include/cpu.h:1.28
--- src/sys/arch/aarch64/include/cpu.h:1.27	Mon Sep 14 10:06:35 2020
+++ src/sys/arch/aarch64/include/cpu.h	Thu Oct  1 06:40:16 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.27 2020/09/14 10:06:35 ryo Exp $ */
+/* $NetBSD: cpu.h,v 1.28 2020/10/01 06:40:16 ryo Exp $ */

  /*-
   * Copyright (c) 2014, 2020 The NetBSD Foundation, Inc.
@@ -156,7 +156,7 @@ void	cpu_hatch(struct cpu_info *);
  extern struct cpu_info *cpu_info[];
  extern struct cpu_info cpu_info_store[];

-#define CPU_INFO_ITERATOR	cpuid_t
+#define CPU_INFO_ITERATOR	int
  #if defined(MULTIPROCESSOR) || defined(_MODULE)
  #define cpu_number()		(curcpu()->ci_index)
  #define CPU_IS_PRIMARY(ci)	((ci)->ci_index == 0)


I think this is the wrong way to go ultimately

unsigned int at least

Nick


Home | Main Index | Thread Index | Old Index