diff options
| -rw-r--r-- | arch/parisc/include/asm/hardware.h | 3 | ||||
| -rw-r--r-- | arch/parisc/include/asm/page.h | 6 | ||||
| -rw-r--r-- | arch/parisc/include/asm/pdc.h | 7 | ||||
| -rw-r--r-- | arch/parisc/include/asm/pgtable.h | 2 | ||||
| -rw-r--r-- | arch/parisc/include/asm/spinlock.h | 2 | ||||
| -rw-r--r-- | arch/parisc/kernel/pdc_cons.c | 1 | ||||
| -rw-r--r-- | arch/parisc/kernel/time.c | 1 | ||||
| -rw-r--r-- | drivers/parisc/sba_iommu.c | 1 | ||||
| -rw-r--r-- | drivers/video/console/sticore.c | 2 |
9 files changed, 17 insertions, 8 deletions
diff --git a/arch/parisc/include/asm/hardware.h b/arch/parisc/include/asm/hardware.h index 4e9626836bab..d1d864b81bae 100644 --- a/arch/parisc/include/asm/hardware.h +++ b/arch/parisc/include/asm/hardware.h | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | #define _PARISC_HARDWARE_H | 2 | #define _PARISC_HARDWARE_H |
| 3 | 3 | ||
| 4 | #include <linux/mod_devicetable.h> | 4 | #include <linux/mod_devicetable.h> |
| 5 | #include <asm/pdc.h> | ||
| 6 | 5 | ||
| 7 | #define HWTYPE_ANY_ID PA_HWTYPE_ANY_ID | 6 | #define HWTYPE_ANY_ID PA_HWTYPE_ANY_ID |
| 8 | #define HVERSION_ANY_ID PA_HVERSION_ANY_ID | 7 | #define HVERSION_ANY_ID PA_HVERSION_ANY_ID |
| @@ -95,12 +94,14 @@ struct bc_module { | |||
| 95 | #define HPHW_MC 15 | 94 | #define HPHW_MC 15 |
| 96 | #define HPHW_FAULTY 31 | 95 | #define HPHW_FAULTY 31 |
| 97 | 96 | ||
| 97 | struct parisc_device_id; | ||
| 98 | 98 | ||
| 99 | /* hardware.c: */ | 99 | /* hardware.c: */ |
| 100 | extern const char *parisc_hardware_description(struct parisc_device_id *id); | 100 | extern const char *parisc_hardware_description(struct parisc_device_id *id); |
| 101 | extern enum cpu_type parisc_get_cpu_type(unsigned long hversion); | 101 | extern enum cpu_type parisc_get_cpu_type(unsigned long hversion); |
| 102 | 102 | ||
| 103 | struct pci_dev; | 103 | struct pci_dev; |
| 104 | struct hardware_path; | ||
| 104 | 105 | ||
| 105 | /* drivers.c: */ | 106 | /* drivers.c: */ |
| 106 | extern struct parisc_device *alloc_pa_dev(unsigned long hpa, | 107 | extern struct parisc_device *alloc_pa_dev(unsigned long hpa, |
diff --git a/arch/parisc/include/asm/page.h b/arch/parisc/include/asm/page.h index a84cc1f925f6..4e0e7dbf0f3f 100644 --- a/arch/parisc/include/asm/page.h +++ b/arch/parisc/include/asm/page.h | |||
| @@ -160,5 +160,11 @@ extern int npmem_ranges; | |||
| 160 | 160 | ||
| 161 | #include <asm-generic/memory_model.h> | 161 | #include <asm-generic/memory_model.h> |
| 162 | #include <asm-generic/getorder.h> | 162 | #include <asm-generic/getorder.h> |
| 163 | #include <asm/pdc.h> | ||
| 164 | |||
| 165 | #define PAGE0 ((struct zeropage *)__PAGE_OFFSET) | ||
| 166 | |||
| 167 | /* DEFINITION OF THE ZERO-PAGE (PAG0) */ | ||
| 168 | /* based on work by Jason Eckhardt (jason@equator.com) */ | ||
| 163 | 169 | ||
| 164 | #endif /* _PARISC_PAGE_H */ | 170 | #endif /* _PARISC_PAGE_H */ |
diff --git a/arch/parisc/include/asm/pdc.h b/arch/parisc/include/asm/pdc.h index 4ca510b3c6f8..7f0f2d23059d 100644 --- a/arch/parisc/include/asm/pdc.h +++ b/arch/parisc/include/asm/pdc.h | |||
| @@ -343,8 +343,6 @@ | |||
| 343 | 343 | ||
| 344 | #ifdef __KERNEL__ | 344 | #ifdef __KERNEL__ |
| 345 | 345 | ||
| 346 | #include <asm/page.h> /* for __PAGE_OFFSET */ | ||
| 347 | |||
| 348 | extern int pdc_type; | 346 | extern int pdc_type; |
| 349 | 347 | ||
| 350 | /* Values for pdc_type */ | 348 | /* Values for pdc_type */ |
| @@ -677,11 +675,6 @@ static inline char * os_id_to_string(u16 os_id) { | |||
| 677 | 675 | ||
| 678 | #endif /* __KERNEL__ */ | 676 | #endif /* __KERNEL__ */ |
| 679 | 677 | ||
| 680 | #define PAGE0 ((struct zeropage *)__PAGE_OFFSET) | ||
| 681 | |||
| 682 | /* DEFINITION OF THE ZERO-PAGE (PAG0) */ | ||
| 683 | /* based on work by Jason Eckhardt (jason@equator.com) */ | ||
| 684 | |||
| 685 | /* flags of the device_path */ | 678 | /* flags of the device_path */ |
| 686 | #define PF_AUTOBOOT 0x80 | 679 | #define PF_AUTOBOOT 0x80 |
| 687 | #define PF_AUTOSEARCH 0x40 | 680 | #define PF_AUTOSEARCH 0x40 |
diff --git a/arch/parisc/include/asm/pgtable.h b/arch/parisc/include/asm/pgtable.h index 22dadeb58695..ee99f2339356 100644 --- a/arch/parisc/include/asm/pgtable.h +++ b/arch/parisc/include/asm/pgtable.h | |||
| @@ -44,6 +44,8 @@ struct vm_area_struct; | |||
| 44 | 44 | ||
| 45 | #endif /* !__ASSEMBLY__ */ | 45 | #endif /* !__ASSEMBLY__ */ |
| 46 | 46 | ||
| 47 | #include <asm/page.h> | ||
| 48 | |||
| 47 | #define pte_ERROR(e) \ | 49 | #define pte_ERROR(e) \ |
| 48 | printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) | 50 | printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) |
| 49 | #define pmd_ERROR(e) \ | 51 | #define pmd_ERROR(e) \ |
diff --git a/arch/parisc/include/asm/spinlock.h b/arch/parisc/include/asm/spinlock.h index 804aa28ab1d6..3516e0b27044 100644 --- a/arch/parisc/include/asm/spinlock.h +++ b/arch/parisc/include/asm/spinlock.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef __ASM_SPINLOCK_H | 1 | #ifndef __ASM_SPINLOCK_H |
| 2 | #define __ASM_SPINLOCK_H | 2 | #define __ASM_SPINLOCK_H |
| 3 | 3 | ||
| 4 | #include <asm/barrier.h> | ||
| 5 | #include <asm/ldcw.h> | ||
| 4 | #include <asm/processor.h> | 6 | #include <asm/processor.h> |
| 5 | #include <asm/spinlock_types.h> | 7 | #include <asm/spinlock_types.h> |
| 6 | 8 | ||
diff --git a/arch/parisc/kernel/pdc_cons.c b/arch/parisc/kernel/pdc_cons.c index 0b3393381a81..47341aa208f2 100644 --- a/arch/parisc/kernel/pdc_cons.c +++ b/arch/parisc/kernel/pdc_cons.c | |||
| @@ -50,6 +50,7 @@ | |||
| 50 | #include <linux/init.h> | 50 | #include <linux/init.h> |
| 51 | #include <linux/major.h> | 51 | #include <linux/major.h> |
| 52 | #include <linux/tty.h> | 52 | #include <linux/tty.h> |
| 53 | #include <asm/page.h> /* for PAGE0 */ | ||
| 53 | #include <asm/pdc.h> /* for iodc_call() proto and friends */ | 54 | #include <asm/pdc.h> /* for iodc_call() proto and friends */ |
| 54 | 55 | ||
| 55 | static DEFINE_SPINLOCK(pdc_console_lock); | 56 | static DEFINE_SPINLOCK(pdc_console_lock); |
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index 7c0774397b89..70e105d62423 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | #include <asm/uaccess.h> | 29 | #include <asm/uaccess.h> |
| 30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
| 31 | #include <asm/irq.h> | 31 | #include <asm/irq.h> |
| 32 | #include <asm/page.h> | ||
| 32 | #include <asm/param.h> | 33 | #include <asm/param.h> |
| 33 | #include <asm/pdc.h> | 34 | #include <asm/pdc.h> |
| 34 | #include <asm/led.h> | 35 | #include <asm/led.h> |
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c index 8644d5372e7f..42cfcd9eb9aa 100644 --- a/drivers/parisc/sba_iommu.c +++ b/drivers/parisc/sba_iommu.c | |||
| @@ -44,6 +44,7 @@ | |||
| 44 | #include <asm/ropes.h> | 44 | #include <asm/ropes.h> |
| 45 | #include <asm/mckinley.h> /* for proc_mckinley_root */ | 45 | #include <asm/mckinley.h> /* for proc_mckinley_root */ |
| 46 | #include <asm/runway.h> /* for proc_runway_root */ | 46 | #include <asm/runway.h> /* for proc_runway_root */ |
| 47 | #include <asm/page.h> /* for PAGE0 */ | ||
| 47 | #include <asm/pdc.h> /* for PDC_MODEL_* */ | 48 | #include <asm/pdc.h> /* for PDC_MODEL_* */ |
| 48 | #include <asm/pdcpat.h> /* for is_pdc_pat() */ | 49 | #include <asm/pdcpat.h> /* for is_pdc_pat() */ |
| 49 | #include <asm/parisc-device.h> | 50 | #include <asm/parisc-device.h> |
diff --git a/drivers/video/console/sticore.c b/drivers/video/console/sticore.c index 6468a297e341..39571f9e0162 100644 --- a/drivers/video/console/sticore.c +++ b/drivers/video/console/sticore.c | |||
| @@ -22,7 +22,9 @@ | |||
| 22 | #include <linux/font.h> | 22 | #include <linux/font.h> |
| 23 | 23 | ||
| 24 | #include <asm/hardware.h> | 24 | #include <asm/hardware.h> |
| 25 | #include <asm/page.h> | ||
| 25 | #include <asm/parisc-device.h> | 26 | #include <asm/parisc-device.h> |
| 27 | #include <asm/pdc.h> | ||
| 26 | #include <asm/cacheflush.h> | 28 | #include <asm/cacheflush.h> |
| 27 | #include <asm/grfioctl.h> | 29 | #include <asm/grfioctl.h> |
| 28 | 30 | ||
