.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | #ifndef __LINUX_CPU_RMAP_H |
---|
2 | 3 | #define __LINUX_CPU_RMAP_H |
---|
3 | 4 | |
---|
4 | 5 | /* |
---|
5 | 6 | * cpu_rmap.c: CPU affinity reverse-map support |
---|
6 | 7 | * 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. |
---|
11 | 8 | */ |
---|
12 | 9 | |
---|
13 | 10 | #include <linux/cpumask.h> |
---|
.. | .. |
---|
31 | 28 | struct { |
---|
32 | 29 | u16 index; |
---|
33 | 30 | u16 dist; |
---|
34 | | - } near[0]; |
---|
| 31 | + } near[]; |
---|
35 | 32 | }; |
---|
36 | 33 | #define CPU_RMAP_DIST_INF 0xffff |
---|
37 | 34 | |
---|