[PATCH] Disable rio on 64-bit platforms
Do it via Kconfig rather than via #error. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
ed653a6404
commit
aed615a95f
@@ -290,7 +290,7 @@ config SX
|
|||||||
|
|
||||||
config RIO
|
config RIO
|
||||||
tristate "Specialix RIO system support"
|
tristate "Specialix RIO system support"
|
||||||
depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP
|
depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP && !64BIT
|
||||||
help
|
help
|
||||||
This is a driver for the Specialix RIO, a smart serial card which
|
This is a driver for the Specialix RIO, a smart serial card which
|
||||||
drives an outboard box that can support up to 128 ports. Product
|
drives an outboard box that can support up to 128 ports. Product
|
||||||
|
@@ -56,10 +56,6 @@
|
|||||||
#include <linux/generic_serial.h>
|
#include <linux/generic_serial.h>
|
||||||
#include <asm/uaccess.h>
|
#include <asm/uaccess.h>
|
||||||
|
|
||||||
#if BITS_PER_LONG != 32
|
|
||||||
# error FIXME: this driver only works on 32-bit platforms
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "linux_compat.h"
|
#include "linux_compat.h"
|
||||||
#include "typdef.h"
|
#include "typdef.h"
|
||||||
#include "pkt.h"
|
#include "pkt.h"
|
||||||
|
Reference in New Issue
Block a user