Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757359AbbBELgX (ORCPT ); Thu, 5 Feb 2015 06:36:23 -0500 Received: from 251.110.2.81.in-addr.arpa ([81.2.110.251]:58779 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752699AbbBELgW (ORCPT ); Thu, 5 Feb 2015 06:36:22 -0500 Date: Thu, 5 Feb 2015 11:35:51 +0000 From: One Thousand Gnomes To: Geert Uytterhoeven Cc: Linus Torvalds , Dave Airlie , Linux Kernel Mailing List , dri-devel@lists.sf.net, Greg Kroah-Hartman , Tomi Valkeinen Subject: Re: [PATCH] vt_buffer: drop console buffer copying optimisations Message-ID: <20150205113551.48094713@lxorguk.ukuu.org.uk> In-Reply-To: References: <1422504685-7864-1-git-send-email-airlied@redhat.com> <20150203155402.4c31c36b@lxorguk.ukuu.org.uk> Organization: Intel Corporation X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 625 Lines: 23 > If I'm not mistaken, that would be as simple as adding > > #define VT_BUF_HAVE_RW. > #define scr_writew(val, addr) (*(addr) = (val)) > #define scr_readw(addr) (*(addr)) > > to arch/x86/include/asm/vga.h. and stick an #if defined (CONFIG_SUPPORT_SHITE_VGA_ADAPTERS) #endif around that and its sorted as an option everyone can leave off but the afflicted. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/