diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-04-03 09:08:57 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-04-03 09:08:57 -0400 |
commit | 76467874b83835129dc454e3a7a8e5d1186101b0 (patch) | |
tree | 162129f0c36c35be4aa323cf00626db0e804c3fc /arch/x86_64/kernel | |
parent | 8628de0583504138551a05ad44ca388467f0f552 (diff) | |
parent | 6246b6128bbe34d0752f119cf7c5111c85fe481d (diff) |
Merge branch 'master'
Diffstat (limited to 'arch/x86_64/kernel')
-rw-r--r-- | arch/x86_64/kernel/apic.c | 14 | ||||
-rw-r--r-- | arch/x86_64/kernel/early_printk.c | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/mce.c | 4 | ||||
-rw-r--r-- | arch/x86_64/kernel/pmtimer.c | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/setup64.c | 4 | ||||
-rw-r--r-- | arch/x86_64/kernel/smpboot.c | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/x86_64/kernel/traps.c | 4 | ||||
-rw-r--r-- | arch/x86_64/kernel/x8664_ksyms.c | 2 |
10 files changed, 19 insertions, 21 deletions
diff --git a/arch/x86_64/kernel/apic.c b/arch/x86_64/kernel/apic.c index d54620147e8e..100a30c40044 100644 --- a/arch/x86_64/kernel/apic.c +++ b/arch/x86_64/kernel/apic.c | |||
@@ -615,7 +615,7 @@ static int __init apic_set_verbosity(char *str) | |||
615 | printk(KERN_WARNING "APIC Verbosity level %s not recognised" | 615 | printk(KERN_WARNING "APIC Verbosity level %s not recognised" |
616 | " use apic=verbose or apic=debug", str); | 616 | " use apic=verbose or apic=debug", str); |
617 | 617 | ||
618 | return 0; | 618 | return 1; |
619 | } | 619 | } |
620 | 620 | ||
621 | __setup("apic=", apic_set_verbosity); | 621 | __setup("apic=", apic_set_verbosity); |
@@ -1137,35 +1137,35 @@ int __init APIC_init_uniprocessor (void) | |||
1137 | static __init int setup_disableapic(char *str) | 1137 | static __init int setup_disableapic(char *str) |
1138 | { | 1138 | { |
1139 | disable_apic = 1; | 1139 | disable_apic = 1; |
1140 | return 0; | 1140 | return 1; |
1141 | } | 1141 | } |
1142 | 1142 | ||
1143 | static __init int setup_nolapic(char *str) | 1143 | static __init int setup_nolapic(char *str) |
1144 | { | 1144 | { |
1145 | disable_apic = 1; | 1145 | disable_apic = 1; |
1146 | return 0; | 1146 | return 1; |
1147 | } | 1147 | } |
1148 | 1148 | ||
1149 | static __init int setup_noapictimer(char *str) | 1149 | static __init int setup_noapictimer(char *str) |
1150 | { | 1150 | { |
1151 | if (str[0] != ' ' && str[0] != 0) | 1151 | if (str[0] != ' ' && str[0] != 0) |
1152 | return -1; | 1152 | return 0; |
1153 | disable_apic_timer = 1; | 1153 | disable_apic_timer = 1; |
1154 | return 0; | 1154 | return 1; |
1155 | } | 1155 | } |
1156 | 1156 | ||
1157 | static __init int setup_apicmaintimer(char *str) | 1157 | static __init int setup_apicmaintimer(char *str) |
1158 | { | 1158 | { |
1159 | apic_runs_main_timer = 1; | 1159 | apic_runs_main_timer = 1; |
1160 | nohpet = 1; | 1160 | nohpet = 1; |
1161 | return 0; | 1161 | return 1; |
1162 | } | 1162 | } |
1163 | __setup("apicmaintimer", setup_apicmaintimer); | 1163 | __setup("apicmaintimer", setup_apicmaintimer); |
1164 | 1164 | ||
1165 | static __init int setup_noapicmaintimer(char *str) | 1165 | static __init int setup_noapicmaintimer(char *str) |
1166 | { | 1166 | { |
1167 | apic_runs_main_timer = -1; | 1167 | apic_runs_main_timer = -1; |
1168 | return 0; | 1168 | return 1; |
1169 | } | 1169 | } |
1170 | __setup("noapicmaintimer", setup_noapicmaintimer); | 1170 | __setup("noapicmaintimer", setup_noapicmaintimer); |
1171 | 1171 | ||
diff --git a/arch/x86_64/kernel/early_printk.c b/arch/x86_64/kernel/early_printk.c index 13af920b6594..b93ef5b51980 100644 --- a/arch/x86_64/kernel/early_printk.c +++ b/arch/x86_64/kernel/early_printk.c | |||
@@ -221,7 +221,7 @@ int __init setup_early_printk(char *opt) | |||
221 | char buf[256]; | 221 | char buf[256]; |
222 | 222 | ||
223 | if (early_console_initialized) | 223 | if (early_console_initialized) |
224 | return -1; | 224 | return 1; |
225 | 225 | ||
226 | strlcpy(buf,opt,sizeof(buf)); | 226 | strlcpy(buf,opt,sizeof(buf)); |
227 | space = strchr(buf, ' '); | 227 | space = strchr(buf, ' '); |
diff --git a/arch/x86_64/kernel/mce.c b/arch/x86_64/kernel/mce.c index 04282ef9fbd4..10b3e348fc99 100644 --- a/arch/x86_64/kernel/mce.c +++ b/arch/x86_64/kernel/mce.c | |||
@@ -501,7 +501,7 @@ static struct miscdevice mce_log_device = { | |||
501 | static int __init mcheck_disable(char *str) | 501 | static int __init mcheck_disable(char *str) |
502 | { | 502 | { |
503 | mce_dont_init = 1; | 503 | mce_dont_init = 1; |
504 | return 0; | 504 | return 1; |
505 | } | 505 | } |
506 | 506 | ||
507 | /* mce=off disables machine check. Note you can reenable it later | 507 | /* mce=off disables machine check. Note you can reenable it later |
@@ -521,7 +521,7 @@ static int __init mcheck_enable(char *str) | |||
521 | get_option(&str, &tolerant); | 521 | get_option(&str, &tolerant); |
522 | else | 522 | else |
523 | printk("mce= argument %s ignored. Please use /sys", str); | 523 | printk("mce= argument %s ignored. Please use /sys", str); |
524 | return 0; | 524 | return 1; |
525 | } | 525 | } |
526 | 526 | ||
527 | __setup("nomce", mcheck_disable); | 527 | __setup("nomce", mcheck_disable); |
diff --git a/arch/x86_64/kernel/pmtimer.c b/arch/x86_64/kernel/pmtimer.c index ee5ee4891f3d..b0444a415bd6 100644 --- a/arch/x86_64/kernel/pmtimer.c +++ b/arch/x86_64/kernel/pmtimer.c | |||
@@ -121,7 +121,7 @@ unsigned int do_gettimeoffset_pm(void) | |||
121 | static int __init nopmtimer_setup(char *s) | 121 | static int __init nopmtimer_setup(char *s) |
122 | { | 122 | { |
123 | pmtmr_ioport = 0; | 123 | pmtmr_ioport = 0; |
124 | return 0; | 124 | return 1; |
125 | } | 125 | } |
126 | 126 | ||
127 | __setup("nopmtimer", nopmtimer_setup); | 127 | __setup("nopmtimer", nopmtimer_setup); |
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c index d1f3e9272c05..0856ad444f90 100644 --- a/arch/x86_64/kernel/setup.c +++ b/arch/x86_64/kernel/setup.c | |||
@@ -540,7 +540,7 @@ void __init alternative_instructions(void) | |||
540 | static int __init noreplacement_setup(char *s) | 540 | static int __init noreplacement_setup(char *s) |
541 | { | 541 | { |
542 | no_replacement = 1; | 542 | no_replacement = 1; |
543 | return 0; | 543 | return 1; |
544 | } | 544 | } |
545 | 545 | ||
546 | __setup("noreplacement", noreplacement_setup); | 546 | __setup("noreplacement", noreplacement_setup); |
diff --git a/arch/x86_64/kernel/setup64.c b/arch/x86_64/kernel/setup64.c index eabdb63fec31..8a691fa6d393 100644 --- a/arch/x86_64/kernel/setup64.c +++ b/arch/x86_64/kernel/setup64.c | |||
@@ -55,7 +55,7 @@ int __init nonx_setup(char *str) | |||
55 | do_not_nx = 1; | 55 | do_not_nx = 1; |
56 | __supported_pte_mask &= ~_PAGE_NX; | 56 | __supported_pte_mask &= ~_PAGE_NX; |
57 | } | 57 | } |
58 | return 0; | 58 | return 1; |
59 | } | 59 | } |
60 | __setup("noexec=", nonx_setup); /* parsed early actually */ | 60 | __setup("noexec=", nonx_setup); /* parsed early actually */ |
61 | 61 | ||
@@ -74,7 +74,7 @@ static int __init nonx32_setup(char *str) | |||
74 | force_personality32 &= ~READ_IMPLIES_EXEC; | 74 | force_personality32 &= ~READ_IMPLIES_EXEC; |
75 | else if (!strcmp(str, "off")) | 75 | else if (!strcmp(str, "off")) |
76 | force_personality32 |= READ_IMPLIES_EXEC; | 76 | force_personality32 |= READ_IMPLIES_EXEC; |
77 | return 0; | 77 | return 1; |
78 | } | 78 | } |
79 | __setup("noexec32=", nonx32_setup); | 79 | __setup("noexec32=", nonx32_setup); |
80 | 80 | ||
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c index ea48fa638070..71a7222cf9ce 100644 --- a/arch/x86_64/kernel/smpboot.c +++ b/arch/x86_64/kernel/smpboot.c | |||
@@ -353,7 +353,7 @@ static void __cpuinit tsc_sync_wait(void) | |||
353 | static __init int notscsync_setup(char *s) | 353 | static __init int notscsync_setup(char *s) |
354 | { | 354 | { |
355 | notscsync = 1; | 355 | notscsync = 1; |
356 | return 0; | 356 | return 1; |
357 | } | 357 | } |
358 | __setup("notscsync", notscsync_setup); | 358 | __setup("notscsync", notscsync_setup); |
359 | 359 | ||
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c index 473b514b66e4..ef8bc46dc140 100644 --- a/arch/x86_64/kernel/time.c +++ b/arch/x86_64/kernel/time.c | |||
@@ -1306,7 +1306,7 @@ irqreturn_t hpet_rtc_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
1306 | static int __init nohpet_setup(char *s) | 1306 | static int __init nohpet_setup(char *s) |
1307 | { | 1307 | { |
1308 | nohpet = 1; | 1308 | nohpet = 1; |
1309 | return 0; | 1309 | return 1; |
1310 | } | 1310 | } |
1311 | 1311 | ||
1312 | __setup("nohpet", nohpet_setup); | 1312 | __setup("nohpet", nohpet_setup); |
@@ -1314,7 +1314,7 @@ __setup("nohpet", nohpet_setup); | |||
1314 | int __init notsc_setup(char *s) | 1314 | int __init notsc_setup(char *s) |
1315 | { | 1315 | { |
1316 | notsc = 1; | 1316 | notsc = 1; |
1317 | return 0; | 1317 | return 1; |
1318 | } | 1318 | } |
1319 | 1319 | ||
1320 | __setup("notsc", notsc_setup); | 1320 | __setup("notsc", notsc_setup); |
diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c index edaa9fe654dc..6bda322d3caf 100644 --- a/arch/x86_64/kernel/traps.c +++ b/arch/x86_64/kernel/traps.c | |||
@@ -973,14 +973,14 @@ void __init trap_init(void) | |||
973 | static int __init oops_dummy(char *s) | 973 | static int __init oops_dummy(char *s) |
974 | { | 974 | { |
975 | panic_on_oops = 1; | 975 | panic_on_oops = 1; |
976 | return -1; | 976 | return 1; |
977 | } | 977 | } |
978 | __setup("oops=", oops_dummy); | 978 | __setup("oops=", oops_dummy); |
979 | 979 | ||
980 | static int __init kstack_setup(char *s) | 980 | static int __init kstack_setup(char *s) |
981 | { | 981 | { |
982 | kstack_depth_to_print = simple_strtoul(s,NULL,0); | 982 | kstack_depth_to_print = simple_strtoul(s,NULL,0); |
983 | return 0; | 983 | return 1; |
984 | } | 984 | } |
985 | __setup("kstack=", kstack_setup); | 985 | __setup("kstack=", kstack_setup); |
986 | 986 | ||
diff --git a/arch/x86_64/kernel/x8664_ksyms.c b/arch/x86_64/kernel/x8664_ksyms.c index d96a9348e5a2..d78f46056bda 100644 --- a/arch/x86_64/kernel/x8664_ksyms.c +++ b/arch/x86_64/kernel/x8664_ksyms.c | |||
@@ -102,8 +102,6 @@ EXPORT_SYMBOL(cpu_callout_map); | |||
102 | EXPORT_SYMBOL(screen_info); | 102 | EXPORT_SYMBOL(screen_info); |
103 | #endif | 103 | #endif |
104 | 104 | ||
105 | EXPORT_SYMBOL(get_wchan); | ||
106 | |||
107 | EXPORT_SYMBOL(rtc_lock); | 105 | EXPORT_SYMBOL(rtc_lock); |
108 | 106 | ||
109 | EXPORT_SYMBOL_GPL(set_nmi_callback); | 107 | EXPORT_SYMBOL_GPL(set_nmi_callback); |