public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@novell.com>
To: "Gerd Knorr" <kraxel@suse.de>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH] make vesafb build without CONFIG_MTRR
Date: Mon, 07 Nov 2005 13:53:30 +0100	[thread overview]
Message-ID: <436F5C5A.76F0.0078.0@novell.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 108 bytes --]

vesafb did not build without CONFIG_MTRR.

From: Jan Beulich <jbeulich@novell.com>

(actual patch attached)

[-- Attachment #2: linux-2.6.14-vesafb-no-mtrr.patch --]
[-- Type: application/octet-stream, Size: 677 bytes --]

vesafb did not build without CONFIG_MTRR.

From: Jan Beulich <jbeulich@novell.com>

--- /home/jbeulich/tmp/linux-2.6.14/drivers/video/vesafb.c	2005-10-28 02:02:08.000000000 +0200
+++ 2.6.14/drivers/video/vesafb.c	2005-11-04 12:19:15.000000000 +0100
@@ -419,6 +419,7 @@ static int __init vesafb_probe(struct de
 	 * region already (FIXME) */
 	request_region(0x3c0, 32, "vesafb");
 
+#ifdef CONFIG_MTRR
 	if (mtrr) {
 		unsigned int temp_size = size_total;
 		unsigned int type = 0;
@@ -456,6 +457,7 @@ static int __init vesafb_probe(struct de
 			} while (temp_size >= PAGE_SIZE && rc == -EINVAL);
 		}
 	}
+#endif
 	
 	info->fbops = &vesafb_ops;
 	info->var = vesafb_defined;

             reply	other threads:[~2005-11-07 12:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07 12:53 Jan Beulich [this message]
2005-11-09 21:59 ` [PATCH] make vesafb build without CONFIG_MTRR Adrian Bunk
2005-11-10  8:24   ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=436F5C5A.76F0.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=kraxel@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox