diff options
| author | David S. Miller <davem@sunset.davemloft.net> | 2007-03-17 18:23:22 -0400 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2007-03-17 18:23:22 -0400 |
| commit | db2f9f6d916e0e3d8666fa9c23f1b0bc0c954b2a (patch) | |
| tree | 637eae3c4e498d875fa482e62372ef3a072bd285 | |
| parent | cd05a1f818073a623455a58e756c5b419fc98db9 (diff) | |
[SPARC64]: Use Kconfig.preempt
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | arch/sparc64/Kconfig | 14 | ||||
| -rw-r--r-- | arch/sparc64/defconfig | 10 |
2 files changed, 8 insertions, 16 deletions
diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig index f75a686ba644..1a6348b565fb 100644 --- a/arch/sparc64/Kconfig +++ b/arch/sparc64/Kconfig | |||
| @@ -136,18 +136,6 @@ config SMP | |||
| 136 | 136 | ||
| 137 | If you don't know what to do here, say N. | 137 | If you don't know what to do here, say N. |
| 138 | 138 | ||
| 139 | config PREEMPT | ||
| 140 | bool "Preemptible Kernel" | ||
| 141 | help | ||
| 142 | This option reduces the latency of the kernel when reacting to | ||
| 143 | real-time or interactive events by allowing a low priority process to | ||
| 144 | be preempted even if it is in kernel mode executing a system call. | ||
| 145 | This allows applications to run more reliably even when the system is | ||
| 146 | under load. | ||
| 147 | |||
| 148 | Say Y here if you are building a kernel for a desktop, embedded | ||
| 149 | or real-time system. Say N if you are unsure. | ||
| 150 | |||
| 151 | config NR_CPUS | 139 | config NR_CPUS |
| 152 | int "Maximum number of CPUs (2-64)" | 140 | int "Maximum number of CPUs (2-64)" |
| 153 | range 2 64 | 141 | range 2 64 |
| @@ -399,6 +387,8 @@ config SCHED_SMT | |||
| 399 | when dealing with UltraSPARC cpus at a cost of slightly increased | 387 | when dealing with UltraSPARC cpus at a cost of slightly increased |
| 400 | overhead in some places. If unsure say N here. | 388 | overhead in some places. If unsure say N here. |
| 401 | 389 | ||
| 390 | source "kernel/Kconfig.preempt" | ||
| 391 | |||
| 402 | config CMDLINE_BOOL | 392 | config CMDLINE_BOOL |
| 403 | bool "Default bootloader kernel arguments" | 393 | bool "Default bootloader kernel arguments" |
| 404 | 394 | ||
diff --git a/arch/sparc64/defconfig b/arch/sparc64/defconfig index 860b8b60526c..120c9c33b7a6 100644 --- a/arch/sparc64/defconfig +++ b/arch/sparc64/defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.21-rc2 | 3 | # Linux kernel version: 2.6.21-rc4 |
| 4 | # Wed Feb 28 09:50:51 2007 | 4 | # Sat Mar 17 14:18:44 2007 |
| 5 | # | 5 | # |
| 6 | CONFIG_SPARC=y | 6 | CONFIG_SPARC=y |
| 7 | CONFIG_SPARC64=y | 7 | CONFIG_SPARC64=y |
| @@ -50,6 +50,7 @@ CONFIG_POSIX_MQUEUE=y | |||
| 50 | # CONFIG_IKCONFIG is not set | 50 | # CONFIG_IKCONFIG is not set |
| 51 | CONFIG_SYSFS_DEPRECATED=y | 51 | CONFIG_SYSFS_DEPRECATED=y |
| 52 | CONFIG_RELAY=y | 52 | CONFIG_RELAY=y |
| 53 | # CONFIG_BLK_DEV_INITRD is not set | ||
| 53 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | 54 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
| 54 | CONFIG_SYSCTL=y | 55 | CONFIG_SYSCTL=y |
| 55 | # CONFIG_EMBEDDED is not set | 56 | # CONFIG_EMBEDDED is not set |
| @@ -108,7 +109,6 @@ CONFIG_GENERIC_HARDIRQS=y | |||
| 108 | # General machine setup | 109 | # General machine setup |
| 109 | # | 110 | # |
| 110 | # CONFIG_SMP is not set | 111 | # CONFIG_SMP is not set |
| 111 | # CONFIG_PREEMPT is not set | ||
| 112 | CONFIG_CPU_FREQ=y | 112 | CONFIG_CPU_FREQ=y |
| 113 | CONFIG_CPU_FREQ_TABLE=m | 113 | CONFIG_CPU_FREQ_TABLE=m |
| 114 | # CONFIG_CPU_FREQ_DEBUG is not set | 114 | # CONFIG_CPU_FREQ_DEBUG is not set |
| @@ -165,6 +165,9 @@ CONFIG_BINFMT_ELF32=y | |||
| 165 | CONFIG_BINFMT_ELF=y | 165 | CONFIG_BINFMT_ELF=y |
| 166 | CONFIG_BINFMT_MISC=m | 166 | CONFIG_BINFMT_MISC=m |
| 167 | CONFIG_SOLARIS_EMUL=y | 167 | CONFIG_SOLARIS_EMUL=y |
| 168 | # CONFIG_PREEMPT_NONE is not set | ||
| 169 | CONFIG_PREEMPT_VOLUNTARY=y | ||
| 170 | # CONFIG_PREEMPT is not set | ||
| 168 | # CONFIG_CMDLINE_BOOL is not set | 171 | # CONFIG_CMDLINE_BOOL is not set |
| 169 | 172 | ||
| 170 | # | 173 | # |
| @@ -340,7 +343,6 @@ CONFIG_BLK_DEV_NBD=m | |||
| 340 | # CONFIG_BLK_DEV_SX8 is not set | 343 | # CONFIG_BLK_DEV_SX8 is not set |
| 341 | # CONFIG_BLK_DEV_UB is not set | 344 | # CONFIG_BLK_DEV_UB is not set |
| 342 | # CONFIG_BLK_DEV_RAM is not set | 345 | # CONFIG_BLK_DEV_RAM is not set |
| 343 | # CONFIG_BLK_DEV_INITRD is not set | ||
| 344 | CONFIG_CDROM_PKTCDVD=m | 346 | CONFIG_CDROM_PKTCDVD=m |
| 345 | CONFIG_CDROM_PKTCDVD_BUFFERS=8 | 347 | CONFIG_CDROM_PKTCDVD_BUFFERS=8 |
| 346 | CONFIG_CDROM_PKTCDVD_WCACHE=y | 348 | CONFIG_CDROM_PKTCDVD_WCACHE=y |
