diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-04-02 00:08:05 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-04-02 00:08:05 -0500 |
commit | 95d465fd750897ab32462a6702fbfe1b122cbbc0 (patch) | |
tree | 65c38b2f11c51bb6932e44dd6c92f15b0091abfe /arch/alpha/kernel | |
parent | 642fde17dceceb56c7ba2762733ac688666ae657 (diff) | |
parent | 683aa4012f53b2ada0f430487e05d37b0d94e90a (diff) |
Manual merge with Linus.
Conflicts:
arch/powerpc/kernel/setup-common.c
drivers/input/keyboard/hil_kbd.c
drivers/input/mouse/hil_ptr.c
Diffstat (limited to 'arch/alpha/kernel')
-rw-r--r-- | arch/alpha/kernel/alpha_ksyms.c | 2 | ||||
-rw-r--r-- | arch/alpha/kernel/core_marvel.c | 2 | ||||
-rw-r--r-- | arch/alpha/kernel/osf_sys.c | 1 | ||||
-rw-r--r-- | arch/alpha/kernel/setup.c | 14 | ||||
-rw-r--r-- | arch/alpha/kernel/time.c | 3 |
5 files changed, 7 insertions, 15 deletions
diff --git a/arch/alpha/kernel/alpha_ksyms.c b/arch/alpha/kernel/alpha_ksyms.c index 1898ea79d0e2..9d6186d50245 100644 --- a/arch/alpha/kernel/alpha_ksyms.c +++ b/arch/alpha/kernel/alpha_ksyms.c | |||
@@ -216,8 +216,6 @@ EXPORT_SYMBOL(memcpy); | |||
216 | EXPORT_SYMBOL(memset); | 216 | EXPORT_SYMBOL(memset); |
217 | EXPORT_SYMBOL(memchr); | 217 | EXPORT_SYMBOL(memchr); |
218 | 218 | ||
219 | EXPORT_SYMBOL(get_wchan); | ||
220 | |||
221 | #ifdef CONFIG_ALPHA_IRONGATE | 219 | #ifdef CONFIG_ALPHA_IRONGATE |
222 | EXPORT_SYMBOL(irongate_ioremap); | 220 | EXPORT_SYMBOL(irongate_ioremap); |
223 | EXPORT_SYMBOL(irongate_iounmap); | 221 | EXPORT_SYMBOL(irongate_iounmap); |
diff --git a/arch/alpha/kernel/core_marvel.c b/arch/alpha/kernel/core_marvel.c index 44866cb26a80..7f6a98455e74 100644 --- a/arch/alpha/kernel/core_marvel.c +++ b/arch/alpha/kernel/core_marvel.c | |||
@@ -435,7 +435,7 @@ marvel_specify_io7(char *str) | |||
435 | str = pchar; | 435 | str = pchar; |
436 | } while(*str); | 436 | } while(*str); |
437 | 437 | ||
438 | return 0; | 438 | return 1; |
439 | } | 439 | } |
440 | __setup("io7=", marvel_specify_io7); | 440 | __setup("io7=", marvel_specify_io7); |
441 | 441 | ||
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index 7fb14f42a125..31afe3d91ac6 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c | |||
@@ -821,7 +821,6 @@ osf_setsysinfo(unsigned long op, void __user *buffer, unsigned long nbytes, | |||
821 | affects all sorts of things, like timeval and itimerval. */ | 821 | affects all sorts of things, like timeval and itimerval. */ |
822 | 822 | ||
823 | extern struct timezone sys_tz; | 823 | extern struct timezone sys_tz; |
824 | extern int do_adjtimex(struct timex *); | ||
825 | 824 | ||
826 | struct timeval32 | 825 | struct timeval32 |
827 | { | 826 | { |
diff --git a/arch/alpha/kernel/setup.c b/arch/alpha/kernel/setup.c index fa3f1a354b3f..a15e18a00258 100644 --- a/arch/alpha/kernel/setup.c +++ b/arch/alpha/kernel/setup.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <linux/root_dev.h> | 35 | #include <linux/root_dev.h> |
36 | #include <linux/initrd.h> | 36 | #include <linux/initrd.h> |
37 | #include <linux/eisa.h> | 37 | #include <linux/eisa.h> |
38 | #include <linux/pfn.h> | ||
38 | #ifdef CONFIG_MAGIC_SYSRQ | 39 | #ifdef CONFIG_MAGIC_SYSRQ |
39 | #include <linux/sysrq.h> | 40 | #include <linux/sysrq.h> |
40 | #include <linux/reboot.h> | 41 | #include <linux/reboot.h> |
@@ -43,7 +44,7 @@ | |||
43 | #include <asm/setup.h> | 44 | #include <asm/setup.h> |
44 | #include <asm/io.h> | 45 | #include <asm/io.h> |
45 | 46 | ||
46 | extern struct notifier_block *panic_notifier_list; | 47 | extern struct atomic_notifier_head panic_notifier_list; |
47 | static int alpha_panic_event(struct notifier_block *, unsigned long, void *); | 48 | static int alpha_panic_event(struct notifier_block *, unsigned long, void *); |
48 | static struct notifier_block alpha_panic_block = { | 49 | static struct notifier_block alpha_panic_block = { |
49 | alpha_panic_event, | 50 | alpha_panic_event, |
@@ -242,9 +243,6 @@ reserve_std_resources(void) | |||
242 | request_resource(io, standard_io_resources+i); | 243 | request_resource(io, standard_io_resources+i); |
243 | } | 244 | } |
244 | 245 | ||
245 | #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT) | ||
246 | #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) | ||
247 | #define PFN_PHYS(x) ((x) << PAGE_SHIFT) | ||
248 | #define PFN_MAX PFN_DOWN(0x80000000) | 246 | #define PFN_MAX PFN_DOWN(0x80000000) |
249 | #define for_each_mem_cluster(memdesc, cluster, i) \ | 247 | #define for_each_mem_cluster(memdesc, cluster, i) \ |
250 | for ((cluster) = (memdesc)->cluster, (i) = 0; \ | 248 | for ((cluster) = (memdesc)->cluster, (i) = 0; \ |
@@ -473,11 +471,6 @@ page_is_ram(unsigned long pfn) | |||
473 | return 0; | 471 | return 0; |
474 | } | 472 | } |
475 | 473 | ||
476 | #undef PFN_UP | ||
477 | #undef PFN_DOWN | ||
478 | #undef PFN_PHYS | ||
479 | #undef PFN_MAX | ||
480 | |||
481 | void __init | 474 | void __init |
482 | setup_arch(char **cmdline_p) | 475 | setup_arch(char **cmdline_p) |
483 | { | 476 | { |
@@ -508,7 +501,8 @@ setup_arch(char **cmdline_p) | |||
508 | } | 501 | } |
509 | 502 | ||
510 | /* Register a call for panic conditions. */ | 503 | /* Register a call for panic conditions. */ |
511 | notifier_chain_register(&panic_notifier_list, &alpha_panic_block); | 504 | atomic_notifier_chain_register(&panic_notifier_list, |
505 | &alpha_panic_block); | ||
512 | 506 | ||
513 | #ifdef CONFIG_ALPHA_GENERIC | 507 | #ifdef CONFIG_ALPHA_GENERIC |
514 | /* Assume that we've booted from SRM if we haven't booted from MILO. | 508 | /* Assume that we've booted from SRM if we haven't booted from MILO. |
diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c index 6b2921be1909..3859749810b4 100644 --- a/arch/alpha/kernel/time.c +++ b/arch/alpha/kernel/time.c | |||
@@ -314,10 +314,11 @@ time_init(void) | |||
314 | if (!est_cycle_freq) | 314 | if (!est_cycle_freq) |
315 | est_cycle_freq = validate_cc_value(calibrate_cc_with_pit()); | 315 | est_cycle_freq = validate_cc_value(calibrate_cc_with_pit()); |
316 | 316 | ||
317 | cc1 = rpcc_after_update_in_progress(); | 317 | cc1 = rpcc(); |
318 | 318 | ||
319 | /* Calibrate CPU clock -- attempt #2. */ | 319 | /* Calibrate CPU clock -- attempt #2. */ |
320 | if (!est_cycle_freq) { | 320 | if (!est_cycle_freq) { |
321 | cc1 = rpcc_after_update_in_progress(); | ||
321 | cc2 = rpcc_after_update_in_progress(); | 322 | cc2 = rpcc_after_update_in_progress(); |
322 | est_cycle_freq = validate_cc_value(cc2 - cc1); | 323 | est_cycle_freq = validate_cc_value(cc2 - cc1); |
323 | cc1 = cc2; | 324 | cc1 = cc2; |