aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/Kconfig2
-rw-r--r--arch/parisc/include/asm/spinlock.h3
-rw-r--r--arch/parisc/kernel/process.c2
-rw-r--r--arch/parisc/kernel/time.c9
4 files changed, 8 insertions, 8 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
index 3bbc74437d52..9038f39d9d73 100644
--- a/arch/parisc/Kconfig
+++ b/arch/parisc/Kconfig
@@ -13,7 +13,7 @@ config PARISC
13 select HAVE_FUNCTION_GRAPH_TRACER if 64BIT 13 select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
14 select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT 14 select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
15 select RTC_CLASS 15 select RTC_CLASS
16 select RTC_DRV_PARISC 16 select RTC_DRV_GENERIC
17 select INIT_ALL_POSSIBLE 17 select INIT_ALL_POSSIBLE
18 select BUG 18 select BUG
19 help 19 help
diff --git a/arch/parisc/include/asm/spinlock.h b/arch/parisc/include/asm/spinlock.h
index f3d2090a18dc..fae03e136fa8 100644
--- a/arch/parisc/include/asm/spinlock.h
+++ b/arch/parisc/include/asm/spinlock.h
@@ -187,6 +187,9 @@ static __inline__ int __raw_write_can_lock(raw_rwlock_t *rw)
187 return !rw->counter; 187 return !rw->counter;
188} 188}
189 189
190#define __raw_read_lock_flags(lock, flags) __raw_read_lock(lock)
191#define __raw_write_lock_flags(lock, flags) __raw_write_lock(lock)
192
190#define _raw_spin_relax(lock) cpu_relax() 193#define _raw_spin_relax(lock) cpu_relax()
191#define _raw_read_relax(lock) cpu_relax() 194#define _raw_read_relax(lock) cpu_relax()
192#define _raw_write_relax(lock) cpu_relax() 195#define _raw_write_relax(lock) cpu_relax()
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c
index 029831dfce36..6f69101f90bb 100644
--- a/arch/parisc/kernel/process.c
+++ b/arch/parisc/kernel/process.c
@@ -254,7 +254,7 @@ sys_vfork(struct pt_regs *regs)
254} 254}
255 255
256int 256int
257copy_thread(int nr, unsigned long clone_flags, unsigned long usp, 257copy_thread(unsigned long clone_flags, unsigned long usp,
258 unsigned long unused, /* in ia64 this is "user_stack_size" */ 258 unsigned long unused, /* in ia64 this is "user_stack_size" */
259 struct task_struct * p, struct pt_regs * pregs) 259 struct task_struct * p, struct pt_regs * pregs)
260{ 260{
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c
index badaad9ff139..d4dd05674c62 100644
--- a/arch/parisc/kernel/time.c
+++ b/arch/parisc/kernel/time.c
@@ -217,17 +217,14 @@ void __init start_cpu_itimer(void)
217 per_cpu(cpu_data, cpu).it_value = next_tick; 217 per_cpu(cpu_data, cpu).it_value = next_tick;
218} 218}
219 219
220struct platform_device rtc_parisc_dev = { 220static struct platform_device rtc_generic_dev = {
221 .name = "rtc-parisc", 221 .name = "rtc-generic",
222 .id = -1, 222 .id = -1,
223}; 223};
224 224
225static int __init rtc_init(void) 225static int __init rtc_init(void)
226{ 226{
227 int ret; 227 if (platform_device_register(&rtc_generic_dev) < 0)
228
229 ret = platform_device_register(&rtc_parisc_dev);
230 if (ret < 0)
231 printk(KERN_ERR "unable to register rtc device...\n"); 228 printk(KERN_ERR "unable to register rtc device...\n");
232 229
233 /* not necessarily an error */ 230 /* not necessarily an error */