x86/ioperm: Move iobitmap data into a struct
[linux-block.git] / arch / x86 / include / asm / io_bitmap.h
CommitLineData
577d5cd7
TG
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_X86_IOBITMAP_H
3#define _ASM_X86_IOBITMAP_H
4
5#include <asm/processor.h>
6
7struct io_bitmap {
8 /* The maximum number of bytes to copy so all zero bits are covered */
9 unsigned int max;
10 unsigned long bitmap[IO_BITMAP_LONGS];
11};
12
13#endif