I8K: allow i8k driver to be built on x86_64 systems
authorBradley Smith <bradjsmith@btinternet.com>
Thu, 7 Feb 2008 08:16:27 +0000 (00:16 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:33 +0000 (08:42 -0800)
commitfe04f22fd2bc84dfcc0ef1c7acb863bd98b9ac93
tree8e0af562cd03fd5bfef643c9bdd98c23a72f5e7b
parent9a7744f9823b9ddf14c47c475e81c1326b1a2787
I8K: allow i8k driver to be built on x86_64 systems

Adds #if clause and additional inline assembly so that the driver
builds on x86_64 systems.

Signed-off-by: Bradley Smith <bradjsmith@btinternet.com>
Cc: Frank Sorenson <frank@tuxrocks.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/i8k.c