aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc')
-rw-r--r--include/asm-parisc/bitops.h5
-rw-r--r--include/asm-parisc/ide.h1
-rw-r--r--include/asm-parisc/pgtable.h2
-rw-r--r--include/asm-parisc/tlbflush.h4
4 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-parisc/bitops.h b/include/asm-parisc/bitops.h
index 015cb0d379bd..f8eebcbad01f 100644
--- a/include/asm-parisc/bitops.h
+++ b/include/asm-parisc/bitops.h
@@ -1,6 +1,10 @@
1#ifndef _PARISC_BITOPS_H 1#ifndef _PARISC_BITOPS_H
2#define _PARISC_BITOPS_H 2#define _PARISC_BITOPS_H
3 3
4#ifndef _LINUX_BITOPS_H
5#error only <linux/bitops.h> can be included directly
6#endif
7
4#include <linux/compiler.h> 8#include <linux/compiler.h>
5#include <asm/types.h> /* for BITS_PER_LONG/SHIFT_PER_LONG */ 9#include <asm/types.h> /* for BITS_PER_LONG/SHIFT_PER_LONG */
6#include <asm/byteorder.h> 10#include <asm/byteorder.h>
@@ -208,6 +212,7 @@ static __inline__ int fls(int x)
208 212
209#include <asm-generic/bitops/fls64.h> 213#include <asm-generic/bitops/fls64.h>
210#include <asm-generic/bitops/hweight.h> 214#include <asm-generic/bitops/hweight.h>
215#include <asm-generic/bitops/lock.h>
211#include <asm-generic/bitops/sched.h> 216#include <asm-generic/bitops/sched.h>
212 217
213#endif /* __KERNEL__ */ 218#endif /* __KERNEL__ */
diff --git a/include/asm-parisc/ide.h b/include/asm-parisc/ide.h
index b27bf7aeb256..be8760fbc8ee 100644
--- a/include/asm-parisc/ide.h
+++ b/include/asm-parisc/ide.h
@@ -17,7 +17,6 @@
17#define MAX_HWIFS 2 17#define MAX_HWIFS 2
18#endif 18#endif
19 19
20#define IDE_ARCH_OBSOLETE_INIT
21#define ide_default_io_ctl(base) ((base) + 0x206) /* obsolete */ 20#define ide_default_io_ctl(base) ((base) + 0x206) /* obsolete */
22 21
23#define ide_request_irq(irq,hand,flg,dev,id) request_irq((irq),(hand),(flg),(dev),(id)) 22#define ide_request_irq(irq,hand,flg,dev,id) request_irq((irq),(hand),(flg),(dev),(id))
diff --git a/include/asm-parisc/pgtable.h b/include/asm-parisc/pgtable.h
index b5a8797dcc5c..cd0fa4f73320 100644
--- a/include/asm-parisc/pgtable.h
+++ b/include/asm-parisc/pgtable.h
@@ -11,9 +11,9 @@
11 */ 11 */
12 12
13#include <linux/mm.h> /* for vm_area_struct */ 13#include <linux/mm.h> /* for vm_area_struct */
14#include <linux/bitops.h>
14#include <asm/processor.h> 15#include <asm/processor.h>
15#include <asm/cache.h> 16#include <asm/cache.h>
16#include <asm/bitops.h>
17 17
18/* 18/*
19 * kern_addr_valid(ADDR) tests if ADDR is pointing to valid kernel 19 * kern_addr_valid(ADDR) tests if ADDR is pointing to valid kernel
diff --git a/include/asm-parisc/tlbflush.h b/include/asm-parisc/tlbflush.h
index 7758ee3832af..b72ec66db699 100644
--- a/include/asm-parisc/tlbflush.h
+++ b/include/asm-parisc/tlbflush.h
@@ -57,10 +57,6 @@ static inline void flush_tlb_mm(struct mm_struct *mm)
57#endif 57#endif
58} 58}
59 59
60static inline void flush_tlb_pgtables(struct mm_struct *mm, unsigned long start, unsigned long end)
61{
62}
63
64static inline void flush_tlb_page(struct vm_area_struct *vma, 60static inline void flush_tlb_page(struct vm_area_struct *vma,
65 unsigned long addr) 61 unsigned long addr)
66{ 62{