diff options
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/Kconfig | 2 | ||||
-rw-r--r-- | arch/parisc/Makefile | 4 | ||||
-rw-r--r-- | arch/parisc/include/asm/agp.h | 4 | ||||
-rw-r--r-- | arch/parisc/include/asm/fcntl.h | 2 | ||||
-rw-r--r-- | arch/parisc/include/asm/mman.h | 5 | ||||
-rw-r--r-- | arch/parisc/include/asm/pci.h | 1 | ||||
-rw-r--r-- | arch/parisc/include/asm/perf_counter.h | 7 | ||||
-rw-r--r-- | arch/parisc/include/asm/perf_event.h | 7 | ||||
-rw-r--r-- | arch/parisc/include/asm/smp.h | 1 | ||||
-rw-r--r-- | arch/parisc/include/asm/unistd.h | 4 | ||||
-rw-r--r-- | arch/parisc/install.sh | 4 | ||||
-rw-r--r-- | arch/parisc/kernel/init_task.c | 4 | ||||
-rw-r--r-- | arch/parisc/kernel/sys_parisc32.c | 1 | ||||
-rw-r--r-- | arch/parisc/kernel/syscall_table.S | 2 | ||||
-rw-r--r-- | arch/parisc/kernel/vmlinux.lds.S | 8 | ||||
-rw-r--r-- | arch/parisc/mm/init.c | 2 |
16 files changed, 29 insertions, 29 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 06f8d5b5b0f9..f388dc68f605 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig | |||
@@ -16,7 +16,7 @@ config PARISC | |||
16 | select RTC_DRV_GENERIC | 16 | select RTC_DRV_GENERIC |
17 | select INIT_ALL_POSSIBLE | 17 | select INIT_ALL_POSSIBLE |
18 | select BUG | 18 | select BUG |
19 | select HAVE_PERF_COUNTERS | 19 | select HAVE_PERF_EVENTS |
20 | select GENERIC_ATOMIC64 if !64BIT | 20 | select GENERIC_ATOMIC64 if !64BIT |
21 | help | 21 | help |
22 | The PA-RISC microprocessor is designed by Hewlett-Packard and used | 22 | The PA-RISC microprocessor is designed by Hewlett-Packard and used |
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index da6f66901c92..55cca1dac431 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile | |||
@@ -118,8 +118,8 @@ define archhelp | |||
118 | @echo '* vmlinux - Uncompressed kernel image (./vmlinux)' | 118 | @echo '* vmlinux - Uncompressed kernel image (./vmlinux)' |
119 | @echo ' palo - Bootable image (./lifimage)' | 119 | @echo ' palo - Bootable image (./lifimage)' |
120 | @echo ' install - Install kernel using' | 120 | @echo ' install - Install kernel using' |
121 | @echo ' (your) ~/bin/installkernel or' | 121 | @echo ' (your) ~/bin/$(INSTALLKERNEL) or' |
122 | @echo ' (distribution) /sbin/installkernel or' | 122 | @echo ' (distribution) /sbin/$(INSTALLKERNEL) or' |
123 | @echo ' copy to $$(INSTALL_PATH)' | 123 | @echo ' copy to $$(INSTALL_PATH)' |
124 | endef | 124 | endef |
125 | 125 | ||
diff --git a/arch/parisc/include/asm/agp.h b/arch/parisc/include/asm/agp.h index 9651660da639..d226ffa8fc12 100644 --- a/arch/parisc/include/asm/agp.h +++ b/arch/parisc/include/asm/agp.h | |||
@@ -11,10 +11,6 @@ | |||
11 | #define unmap_page_from_agp(page) /* nothing */ | 11 | #define unmap_page_from_agp(page) /* nothing */ |
12 | #define flush_agp_cache() mb() | 12 | #define flush_agp_cache() mb() |
13 | 13 | ||
14 | /* Convert a physical address to an address suitable for the GART. */ | ||
15 | #define phys_to_gart(x) (x) | ||
16 | #define gart_to_phys(x) (x) | ||
17 | |||
18 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | 14 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ |
19 | #define alloc_gatt_pages(order) \ | 15 | #define alloc_gatt_pages(order) \ |
20 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | 16 | ((char *)__get_free_pages(GFP_KERNEL, (order))) |
diff --git a/arch/parisc/include/asm/fcntl.h b/arch/parisc/include/asm/fcntl.h index 1e1c824764ee..5f39d5597ced 100644 --- a/arch/parisc/include/asm/fcntl.h +++ b/arch/parisc/include/asm/fcntl.h | |||
@@ -28,6 +28,8 @@ | |||
28 | #define F_SETOWN 12 /* for sockets. */ | 28 | #define F_SETOWN 12 /* for sockets. */ |
29 | #define F_SETSIG 13 /* for sockets. */ | 29 | #define F_SETSIG 13 /* for sockets. */ |
30 | #define F_GETSIG 14 /* for sockets. */ | 30 | #define F_GETSIG 14 /* for sockets. */ |
31 | #define F_GETOWN_EX 15 | ||
32 | #define F_SETOWN_EX 16 | ||
31 | 33 | ||
32 | /* for posix fcntl() and lockf() */ | 34 | /* for posix fcntl() and lockf() */ |
33 | #define F_RDLCK 01 | 35 | #define F_RDLCK 01 |
diff --git a/arch/parisc/include/asm/mman.h b/arch/parisc/include/asm/mman.h index defe752cc996..9749c8afe83a 100644 --- a/arch/parisc/include/asm/mman.h +++ b/arch/parisc/include/asm/mman.h | |||
@@ -22,6 +22,8 @@ | |||
22 | #define MAP_GROWSDOWN 0x8000 /* stack-like segment */ | 22 | #define MAP_GROWSDOWN 0x8000 /* stack-like segment */ |
23 | #define MAP_POPULATE 0x10000 /* populate (prefault) pagetables */ | 23 | #define MAP_POPULATE 0x10000 /* populate (prefault) pagetables */ |
24 | #define MAP_NONBLOCK 0x20000 /* do not block on IO */ | 24 | #define MAP_NONBLOCK 0x20000 /* do not block on IO */ |
25 | #define MAP_STACK 0x40000 /* give out an address that is best suited for process/thread stacks */ | ||
26 | #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ | ||
25 | 27 | ||
26 | #define MS_SYNC 1 /* synchronous memory sync */ | 28 | #define MS_SYNC 1 /* synchronous memory sync */ |
27 | #define MS_ASYNC 2 /* sync memory asynchronously */ | 29 | #define MS_ASYNC 2 /* sync memory asynchronously */ |
@@ -54,6 +56,9 @@ | |||
54 | #define MADV_16M_PAGES 24 /* Use 16 Megabyte pages */ | 56 | #define MADV_16M_PAGES 24 /* Use 16 Megabyte pages */ |
55 | #define MADV_64M_PAGES 26 /* Use 64 Megabyte pages */ | 57 | #define MADV_64M_PAGES 26 /* Use 64 Megabyte pages */ |
56 | 58 | ||
59 | #define MADV_MERGEABLE 65 /* KSM may merge identical pages */ | ||
60 | #define MADV_UNMERGEABLE 66 /* KSM may not merge identical pages */ | ||
61 | |||
57 | /* compatibility flags */ | 62 | /* compatibility flags */ |
58 | #define MAP_FILE 0 | 63 | #define MAP_FILE 0 |
59 | #define MAP_VARIABLE 0 | 64 | #define MAP_VARIABLE 0 |
diff --git a/arch/parisc/include/asm/pci.h b/arch/parisc/include/asm/pci.h index 7d842d699df2..64c7aa590ae5 100644 --- a/arch/parisc/include/asm/pci.h +++ b/arch/parisc/include/asm/pci.h | |||
@@ -233,7 +233,6 @@ static inline void pcibios_register_hba(struct pci_hba_data *x) | |||
233 | * rp7420/8420 boxes and then revisit this issue. | 233 | * rp7420/8420 boxes and then revisit this issue. |
234 | */ | 234 | */ |
235 | #define pcibios_assign_all_busses() (1) | 235 | #define pcibios_assign_all_busses() (1) |
236 | #define pcibios_scan_all_fns(a, b) (0) | ||
237 | 236 | ||
238 | #define PCIBIOS_MIN_IO 0x10 | 237 | #define PCIBIOS_MIN_IO 0x10 |
239 | #define PCIBIOS_MIN_MEM 0x1000 /* NBPG - but pci/setup-res.c dies */ | 238 | #define PCIBIOS_MIN_MEM 0x1000 /* NBPG - but pci/setup-res.c dies */ |
diff --git a/arch/parisc/include/asm/perf_counter.h b/arch/parisc/include/asm/perf_counter.h deleted file mode 100644 index dc9e829f7013..000000000000 --- a/arch/parisc/include/asm/perf_counter.h +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #ifndef __ASM_PARISC_PERF_COUNTER_H | ||
2 | #define __ASM_PARISC_PERF_COUNTER_H | ||
3 | |||
4 | /* parisc only supports software counters through this interface. */ | ||
5 | static inline void set_perf_counter_pending(void) { } | ||
6 | |||
7 | #endif /* __ASM_PARISC_PERF_COUNTER_H */ | ||
diff --git a/arch/parisc/include/asm/perf_event.h b/arch/parisc/include/asm/perf_event.h new file mode 100644 index 000000000000..cc146427d8f9 --- /dev/null +++ b/arch/parisc/include/asm/perf_event.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #ifndef __ASM_PARISC_PERF_EVENT_H | ||
2 | #define __ASM_PARISC_PERF_EVENT_H | ||
3 | |||
4 | /* parisc only supports software events through this interface. */ | ||
5 | static inline void set_perf_event_pending(void) { } | ||
6 | |||
7 | #endif /* __ASM_PARISC_PERF_EVENT_H */ | ||
diff --git a/arch/parisc/include/asm/smp.h b/arch/parisc/include/asm/smp.h index 21eb45a52629..2e73623feb6b 100644 --- a/arch/parisc/include/asm/smp.h +++ b/arch/parisc/include/asm/smp.h | |||
@@ -30,7 +30,6 @@ extern void smp_send_all_nop(void); | |||
30 | 30 | ||
31 | extern void arch_send_call_function_single_ipi(int cpu); | 31 | extern void arch_send_call_function_single_ipi(int cpu); |
32 | extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); | 32 | extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); |
33 | #define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask | ||
34 | 33 | ||
35 | #endif /* !ASSEMBLY */ | 34 | #endif /* !ASSEMBLY */ |
36 | 35 | ||
diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h index f3d3b8b012c4..cda158318c62 100644 --- a/arch/parisc/include/asm/unistd.h +++ b/arch/parisc/include/asm/unistd.h | |||
@@ -810,9 +810,9 @@ | |||
810 | #define __NR_preadv (__NR_Linux + 315) | 810 | #define __NR_preadv (__NR_Linux + 315) |
811 | #define __NR_pwritev (__NR_Linux + 316) | 811 | #define __NR_pwritev (__NR_Linux + 316) |
812 | #define __NR_rt_tgsigqueueinfo (__NR_Linux + 317) | 812 | #define __NR_rt_tgsigqueueinfo (__NR_Linux + 317) |
813 | #define __NR_perf_counter_open (__NR_Linux + 318) | 813 | #define __NR_perf_event_open (__NR_Linux + 318) |
814 | 814 | ||
815 | #define __NR_Linux_syscalls (__NR_perf_counter_open + 1) | 815 | #define __NR_Linux_syscalls (__NR_perf_event_open + 1) |
816 | 816 | ||
817 | 817 | ||
818 | #define __IGNORE_select /* newselect */ | 818 | #define __IGNORE_select /* newselect */ |
diff --git a/arch/parisc/install.sh b/arch/parisc/install.sh index 9632b3e164c7..e593fc8d58bc 100644 --- a/arch/parisc/install.sh +++ b/arch/parisc/install.sh | |||
@@ -21,8 +21,8 @@ | |||
21 | 21 | ||
22 | # User may have a custom install script | 22 | # User may have a custom install script |
23 | 23 | ||
24 | if [ -x ~/bin/installkernel ]; then exec ~/bin/installkernel "$@"; fi | 24 | if [ -x ~/bin/${INSTALLKERNEL} ]; then exec ~/bin/${INSTALLKERNEL} "$@"; fi |
25 | if [ -x /sbin/installkernel ]; then exec /sbin/installkernel "$@"; fi | 25 | if [ -x /sbin/${INSTALLKERNEL} ]; then exec /sbin/${INSTALLKERNEL} "$@"; fi |
26 | 26 | ||
27 | # Default install | 27 | # Default install |
28 | 28 | ||
diff --git a/arch/parisc/kernel/init_task.c b/arch/parisc/kernel/init_task.c index 82974b20fc10..d020eae6525c 100644 --- a/arch/parisc/kernel/init_task.c +++ b/arch/parisc/kernel/init_task.c | |||
@@ -43,8 +43,8 @@ static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); | |||
43 | * way process stacks are handled. This is done by having a special | 43 | * way process stacks are handled. This is done by having a special |
44 | * "init_task" linker map entry.. | 44 | * "init_task" linker map entry.. |
45 | */ | 45 | */ |
46 | union thread_union init_thread_union | 46 | union thread_union init_thread_union __init_task_data |
47 | __attribute__((aligned(128))) __attribute__((__section__(".data.init_task"))) = | 47 | __attribute__((aligned(128))) = |
48 | { INIT_THREAD_INFO(init_task) }; | 48 | { INIT_THREAD_INFO(init_task) }; |
49 | 49 | ||
50 | #if PT_NLEVELS == 3 | 50 | #if PT_NLEVELS == 3 |
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c index 92a0acaa0d12..561388b17c91 100644 --- a/arch/parisc/kernel/sys_parisc32.c +++ b/arch/parisc/kernel/sys_parisc32.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/signal.h> | 18 | #include <linux/signal.h> |
19 | #include <linux/resource.h> | 19 | #include <linux/resource.h> |
20 | #include <linux/times.h> | 20 | #include <linux/times.h> |
21 | #include <linux/utsname.h> | ||
22 | #include <linux/time.h> | 21 | #include <linux/time.h> |
23 | #include <linux/smp.h> | 22 | #include <linux/smp.h> |
24 | #include <linux/smp_lock.h> | 23 | #include <linux/smp_lock.h> |
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S index cf145eb026b3..843f423dec67 100644 --- a/arch/parisc/kernel/syscall_table.S +++ b/arch/parisc/kernel/syscall_table.S | |||
@@ -416,7 +416,7 @@ | |||
416 | ENTRY_COMP(preadv) /* 315 */ | 416 | ENTRY_COMP(preadv) /* 315 */ |
417 | ENTRY_COMP(pwritev) | 417 | ENTRY_COMP(pwritev) |
418 | ENTRY_COMP(rt_tgsigqueueinfo) | 418 | ENTRY_COMP(rt_tgsigqueueinfo) |
419 | ENTRY_SAME(perf_counter_open) | 419 | ENTRY_SAME(perf_event_open) |
420 | 420 | ||
421 | /* Nothing yet */ | 421 | /* Nothing yet */ |
422 | 422 | ||
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S index fd2cc4fd2b65..aea1784edbd1 100644 --- a/arch/parisc/kernel/vmlinux.lds.S +++ b/arch/parisc/kernel/vmlinux.lds.S | |||
@@ -237,9 +237,12 @@ SECTIONS | |||
237 | /* freed after init ends here */ | 237 | /* freed after init ends here */ |
238 | _end = . ; | 238 | _end = . ; |
239 | 239 | ||
240 | STABS_DEBUG | ||
241 | .note 0 : { *(.note) } | ||
242 | |||
240 | /* Sections to be discarded */ | 243 | /* Sections to be discarded */ |
244 | DISCARDS | ||
241 | /DISCARD/ : { | 245 | /DISCARD/ : { |
242 | *(.exitcall.exit) | ||
243 | #ifdef CONFIG_64BIT | 246 | #ifdef CONFIG_64BIT |
244 | /* temporary hack until binutils is fixed to not emit these | 247 | /* temporary hack until binutils is fixed to not emit these |
245 | * for static binaries | 248 | * for static binaries |
@@ -252,7 +255,4 @@ SECTIONS | |||
252 | *(.gnu.hash) | 255 | *(.gnu.hash) |
253 | #endif | 256 | #endif |
254 | } | 257 | } |
255 | |||
256 | STABS_DEBUG | ||
257 | .note 0 : { *(.note) } | ||
258 | } | 258 | } |
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index b0831d9e35cb..d5aca31fddbb 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c | |||
@@ -506,7 +506,7 @@ void __init mem_init(void) | |||
506 | #endif | 506 | #endif |
507 | 507 | ||
508 | printk(KERN_INFO "Memory: %luk/%luk available (%dk kernel code, %dk reserved, %dk data, %dk init)\n", | 508 | printk(KERN_INFO "Memory: %luk/%luk available (%dk kernel code, %dk reserved, %dk data, %dk init)\n", |
509 | (unsigned long)nr_free_pages() << (PAGE_SHIFT-10), | 509 | nr_free_pages() << (PAGE_SHIFT-10), |
510 | num_physpages << (PAGE_SHIFT-10), | 510 | num_physpages << (PAGE_SHIFT-10), |
511 | codesize >> 10, | 511 | codesize >> 10, |
512 | reservedpages << (PAGE_SHIFT-10), | 512 | reservedpages << (PAGE_SHIFT-10), |