On Sun, Jan 28, 2024 at 02:39:35PM -0800, Linus Torvalds wrote: > On Sun, 28 Jan 2024 at 14:09, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > > > > Do we ever use that thing on iomem in non-VGA setups? > > On iomem? No. But I think several of the routines just work on either > VGA screen memory directly (c->vc_origin = vga_vram_base), or normal > RAM (vc_allocate) > > But who knows.. I *used* to know all this code, but happily no longer. I hadn't finished going through the callers, but AFAICS in !VGA && !MDA case alpha should be just fine with the fallbacks, so we could just put the instance in io.c under the same ifdef that pulls asm/vga.h into linux/vt_buffer.h