diff options
author | Brian Gerst <bgerst@didntduck.org> | 2005-10-30 17:59:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 20:37:10 -0500 |
commit | 0d078f6f96809c95c69b99d6605a502b0ac63d3d (patch) | |
tree | 1b4691abab5f96f2aa8a5217a2701f181b41940d /drivers/char | |
parent | 4276d32260662d5401a15a0a46e506fb5c8ab563 (diff) |
[PATCH] CONFIG_IA32
Add CONFIG_X86_32 for i386. This allows selecting options that only apply
to 32-bit systems.
(X86 && !X86_64) becomes X86_32
(X86 || X86_64) becomes X86
Signed-off-by: Brian Gerst <bgerst@didntduck.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/Kconfig | 4 | ||||
-rw-r--r-- | drivers/char/agp/Kconfig | 16 | ||||
-rw-r--r-- | drivers/char/hangcheck-timer.c | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index c29365d5b524..7902c3630681 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig | |||
@@ -661,7 +661,7 @@ config HW_RANDOM | |||
661 | 661 | ||
662 | config NVRAM | 662 | config NVRAM |
663 | tristate "/dev/nvram support" | 663 | tristate "/dev/nvram support" |
664 | depends on ATARI || X86 || X86_64 || ARM || GENERIC_NVRAM | 664 | depends on ATARI || X86 || ARM || GENERIC_NVRAM |
665 | ---help--- | 665 | ---help--- |
666 | If you say Y here and create a character special file /dev/nvram | 666 | If you say Y here and create a character special file /dev/nvram |
667 | with major number 10 and minor number 144 using mknod ("man mknod"), | 667 | with major number 10 and minor number 144 using mknod ("man mknod"), |
@@ -985,7 +985,7 @@ config MAX_RAW_DEVS | |||
985 | 985 | ||
986 | config HANGCHECK_TIMER | 986 | config HANGCHECK_TIMER |
987 | tristate "Hangcheck timer" | 987 | tristate "Hangcheck timer" |
988 | depends on X86_64 || X86 || IA64 || PPC64 || ARCH_S390 | 988 | depends on X86 || IA64 || PPC64 || ARCH_S390 |
989 | help | 989 | help |
990 | The hangcheck-timer module detects when the system has gone | 990 | The hangcheck-timer module detects when the system has gone |
991 | out to lunch past a certain margin. It can reboot the system | 991 | out to lunch past a certain margin. It can reboot the system |
diff --git a/drivers/char/agp/Kconfig b/drivers/char/agp/Kconfig index 7f8c1b53b754..486ed8a11b59 100644 --- a/drivers/char/agp/Kconfig +++ b/drivers/char/agp/Kconfig | |||
@@ -27,7 +27,7 @@ config AGP | |||
27 | 27 | ||
28 | config AGP_ALI | 28 | config AGP_ALI |
29 | tristate "ALI chipset support" | 29 | tristate "ALI chipset support" |
30 | depends on AGP && X86 && !X86_64 | 30 | depends on AGP && X86_32 |
31 | ---help--- | 31 | ---help--- |
32 | This option gives you AGP support for the GLX component of | 32 | This option gives you AGP support for the GLX component of |
33 | XFree86 4.x on the following ALi chipsets. The supported chipsets | 33 | XFree86 4.x on the following ALi chipsets. The supported chipsets |
@@ -45,7 +45,7 @@ config AGP_ALI | |||
45 | 45 | ||
46 | config AGP_ATI | 46 | config AGP_ATI |
47 | tristate "ATI chipset support" | 47 | tristate "ATI chipset support" |
48 | depends on AGP && X86 && !X86_64 | 48 | depends on AGP && X86_32 |
49 | ---help--- | 49 | ---help--- |
50 | This option gives you AGP support for the GLX component of | 50 | This option gives you AGP support for the GLX component of |
51 | XFree86 4.x on the ATI RadeonIGP family of chipsets. | 51 | XFree86 4.x on the ATI RadeonIGP family of chipsets. |
@@ -55,7 +55,7 @@ config AGP_ATI | |||
55 | 55 | ||
56 | config AGP_AMD | 56 | config AGP_AMD |
57 | tristate "AMD Irongate, 761, and 762 chipset support" | 57 | tristate "AMD Irongate, 761, and 762 chipset support" |
58 | depends on AGP && X86 && !X86_64 | 58 | depends on AGP && X86_32 |
59 | help | 59 | help |
60 | This option gives you AGP support for the GLX component of | 60 | This option gives you AGP support for the GLX component of |
61 | XFree86 4.x on AMD Irongate, 761, and 762 chipsets. | 61 | XFree86 4.x on AMD Irongate, 761, and 762 chipsets. |
@@ -91,7 +91,7 @@ config AGP_INTEL | |||
91 | 91 | ||
92 | config AGP_NVIDIA | 92 | config AGP_NVIDIA |
93 | tristate "NVIDIA nForce/nForce2 chipset support" | 93 | tristate "NVIDIA nForce/nForce2 chipset support" |
94 | depends on AGP && X86 && !X86_64 | 94 | depends on AGP && X86_32 |
95 | help | 95 | help |
96 | This option gives you AGP support for the GLX component of | 96 | This option gives you AGP support for the GLX component of |
97 | XFree86 4.x on the following NVIDIA chipsets. The supported chipsets | 97 | XFree86 4.x on the following NVIDIA chipsets. The supported chipsets |
@@ -99,7 +99,7 @@ config AGP_NVIDIA | |||
99 | 99 | ||
100 | config AGP_SIS | 100 | config AGP_SIS |
101 | tristate "SiS chipset support" | 101 | tristate "SiS chipset support" |
102 | depends on AGP && X86 && !X86_64 | 102 | depends on AGP && X86_32 |
103 | help | 103 | help |
104 | This option gives you AGP support for the GLX component of | 104 | This option gives you AGP support for the GLX component of |
105 | XFree86 4.x on Silicon Integrated Systems [SiS] chipsets. | 105 | XFree86 4.x on Silicon Integrated Systems [SiS] chipsets. |
@@ -111,14 +111,14 @@ config AGP_SIS | |||
111 | 111 | ||
112 | config AGP_SWORKS | 112 | config AGP_SWORKS |
113 | tristate "Serverworks LE/HE chipset support" | 113 | tristate "Serverworks LE/HE chipset support" |
114 | depends on AGP && X86 && !X86_64 | 114 | depends on AGP && X86_32 |
115 | help | 115 | help |
116 | Say Y here to support the Serverworks AGP card. See | 116 | Say Y here to support the Serverworks AGP card. See |
117 | <http://www.serverworks.com/> for product descriptions and images. | 117 | <http://www.serverworks.com/> for product descriptions and images. |
118 | 118 | ||
119 | config AGP_VIA | 119 | config AGP_VIA |
120 | tristate "VIA chipset support" | 120 | tristate "VIA chipset support" |
121 | depends on AGP && X86 && !X86_64 | 121 | depends on AGP && X86_32 |
122 | help | 122 | help |
123 | This option gives you AGP support for the GLX component of | 123 | This option gives you AGP support for the GLX component of |
124 | XFree86 4.x on VIA MVP3/Apollo Pro chipsets. | 124 | XFree86 4.x on VIA MVP3/Apollo Pro chipsets. |
@@ -154,7 +154,7 @@ config AGP_UNINORTH | |||
154 | 154 | ||
155 | config AGP_EFFICEON | 155 | config AGP_EFFICEON |
156 | tristate "Transmeta Efficeon support" | 156 | tristate "Transmeta Efficeon support" |
157 | depends on AGP && X86 && !X86_64 | 157 | depends on AGP && X86_32 |
158 | help | 158 | help |
159 | This option gives you AGP support for the Transmeta Efficeon | 159 | This option gives you AGP support for the Transmeta Efficeon |
160 | series processors with integrated northbridges. | 160 | series processors with integrated northbridges. |
diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c index a54bc93353af..66e53dd450ff 100644 --- a/drivers/char/hangcheck-timer.c +++ b/drivers/char/hangcheck-timer.c | |||
@@ -117,7 +117,7 @@ __setup("hcheck_reboot", hangcheck_parse_reboot); | |||
117 | __setup("hcheck_dump_tasks", hangcheck_parse_dump_tasks); | 117 | __setup("hcheck_dump_tasks", hangcheck_parse_dump_tasks); |
118 | #endif /* not MODULE */ | 118 | #endif /* not MODULE */ |
119 | 119 | ||
120 | #if defined(CONFIG_X86) || defined(CONFIG_X86_64) | 120 | #if defined(CONFIG_X86) |
121 | # define HAVE_MONOTONIC | 121 | # define HAVE_MONOTONIC |
122 | # define TIMER_FREQ 1000000000ULL | 122 | # define TIMER_FREQ 1000000000ULL |
123 | #elif defined(CONFIG_ARCH_S390) | 123 | #elif defined(CONFIG_ARCH_S390) |