hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/cpu_rmap.h
....@@ -1,13 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef __LINUX_CPU_RMAP_H
23 #define __LINUX_CPU_RMAP_H
34
45 /*
56 * cpu_rmap.c: CPU affinity reverse-map support
67 * Copyright 2011 Solarflare Communications Inc.
7
- *
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License version 2 as published
10
- * by the Free Software Foundation, incorporated herein by reference.
118 */
129
1310 #include <linux/cpumask.h>
....@@ -31,7 +28,7 @@
3128 struct {
3229 u16 index;
3330 u16 dist;
34
- } near[0];
31
+ } near[];
3532 };
3633 #define CPU_RMAP_DIST_INF 0xffff
3734