1*577d5cd7SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0 */ 2*577d5cd7SThomas Gleixner #ifndef _ASM_X86_IOBITMAP_H 3*577d5cd7SThomas Gleixner #define _ASM_X86_IOBITMAP_H 4*577d5cd7SThomas Gleixner 5*577d5cd7SThomas Gleixner #include <asm/processor.h> 6*577d5cd7SThomas Gleixner 7*577d5cd7SThomas Gleixner struct io_bitmap { 8*577d5cd7SThomas Gleixner /* The maximum number of bytes to copy so all zero bits are covered */ 9*577d5cd7SThomas Gleixner unsigned int max; 10*577d5cd7SThomas Gleixner unsigned long bitmap[IO_BITMAP_LONGS]; 11*577d5cd7SThomas Gleixner }; 12*577d5cd7SThomas Gleixner 13*577d5cd7SThomas Gleixner #endif 14