diff options
author | Paul Mackerras <paulus@samba.org> | 2007-04-12 13:50:03 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 13:50:03 -0400 |
commit | e049d1ca3094f3d1d94617f456a9961202f96e3a (patch) | |
tree | a30397ad22f2fbea268bd28fa69c60aad9dfa62a /arch/powerpc/kernel | |
parent | edfac96a92b88d3b0b53e3f8231b74beee9ecd1d (diff) | |
parent | 80584ff3b99c36ead7e130e453b3a48b18072d18 (diff) |
Merge branch 'linux-2.6' into for-2.6.22
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/process.c | 9 | ||||
-rw-r--r-- | arch/powerpc/kernel/udbg_16550.c | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index d7d7602e348f..949092dccf44 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -465,8 +465,13 @@ void flush_thread(void) | |||
465 | #ifdef CONFIG_PPC64 | 465 | #ifdef CONFIG_PPC64 |
466 | struct thread_info *t = current_thread_info(); | 466 | struct thread_info *t = current_thread_info(); |
467 | 467 | ||
468 | if (t->flags & _TIF_ABI_PENDING) | 468 | if (test_ti_thread_flag(t, TIF_ABI_PENDING)) { |
469 | t->flags ^= (_TIF_ABI_PENDING | _TIF_32BIT); | 469 | clear_ti_thread_flag(t, TIF_ABI_PENDING); |
470 | if (test_ti_thread_flag(t, TIF_32BIT)) | ||
471 | clear_ti_thread_flag(t, TIF_32BIT); | ||
472 | else | ||
473 | set_ti_thread_flag(t, TIF_32BIT); | ||
474 | } | ||
470 | #endif | 475 | #endif |
471 | 476 | ||
472 | discard_lazy_cpu_state(); | 477 | discard_lazy_cpu_state(); |
diff --git a/arch/powerpc/kernel/udbg_16550.c b/arch/powerpc/kernel/udbg_16550.c index e738f93b42fe..a963f657222b 100644 --- a/arch/powerpc/kernel/udbg_16550.c +++ b/arch/powerpc/kernel/udbg_16550.c | |||
@@ -184,7 +184,7 @@ void udbg_pas_real_putc(char c) | |||
184 | 184 | ||
185 | void udbg_init_pas_realmode(void) | 185 | void udbg_init_pas_realmode(void) |
186 | { | 186 | { |
187 | udbg_comport = (volatile struct NS16550 __iomem *)0xfcff03f8; | 187 | udbg_comport = (volatile struct NS16550 __iomem *)0xfcff03f8UL; |
188 | 188 | ||
189 | udbg_putc = udbg_pas_real_putc; | 189 | udbg_putc = udbg_pas_real_putc; |
190 | udbg_getc = NULL; | 190 | udbg_getc = NULL; |