All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@kernel.org>
To: Bradley Smith <bradjsmith@btinternet.com>
Cc: linux-kernel@vger.kernel.org, dz@debian.org
Subject: Re: [PATCH 1/2] I8K: Allow i8k driver to be built on x86_64 systems
Date: Sun, 28 Oct 2007 18:37:24 +0100	[thread overview]
Message-ID: <20071028173724.GE7227@stusta.de> (raw)
In-Reply-To: <20071028172519.371dbbe8@debian.hob>

On Sun, Oct 28, 2007 at 05:25:19PM +0000, Bradley Smith wrote:
> From: Bradley Smith <bradjsmith@btinternet.com>
> 
> Adds #if clause and additional inline assembly so that the driver
> builds on x86_64 systems.
> 
> Signed-off-by: Bradley Smith <bradjsmith@btinternet.com>
> 
> ---
> 
> --- linux-2.6/drivers/char/i8k.c.orig	2007-10-28 12:27:34.000000000 +0000
> +++ linux-2.6/drivers/char/i8k.c	2007-10-28 14:27:56.000000000 +0000
> @@ -113,6 +113,33 @@ static int i8k_smm(struct smm_regs *regs
>  	int rc;
>  	int eax = regs->eax;
>  
> +#if defined(__x86_64__)
>...

Please use CONFIG_X86_64.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2007-10-28 17:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-28 17:25 [PATCH 1/2] I8K: Allow i8k driver to be built on x86_64 systems Bradley Smith
2007-10-28 17:37 ` Adrian Bunk [this message]
2007-10-28 23:19   ` Bradley Smith
2007-10-28 17:59 ` Jeff Garzik
2007-10-28 18:03   ` Bradley Smith
2007-10-29  6:12   ` Frank Sorenson

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=20071028173724.GE7227@stusta.de \
    --to=bunk@kernel.org \
    --cc=bradjsmith@btinternet.com \
    --cc=dz@debian.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.