Re: [PATCH 1/2] I8K: Allow i8k driver to be built on x86_64 systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 28, 2007 at 05:25:19PM +0000, Bradley Smith wrote:
> From: Bradley Smith <[email protected]>
> 
> Adds #if clause and additional inline assembly so that the driver
> builds on x86_64 systems.
> 
> Signed-off-by: Bradley Smith <[email protected]>
> 
> ---
> 
> --- 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux