diff options
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/Kbuild | 1 | ||||
-rw-r--r-- | include/asm-sparc64/floppy.h | 4 | ||||
-rw-r--r-- | include/asm-sparc64/io.h | 6 | ||||
-rw-r--r-- | include/asm-sparc64/ipc.h | 1 | ||||
-rw-r--r-- | include/asm-sparc64/semaphore.h | 1 | ||||
-rw-r--r-- | include/asm-sparc64/shmparam.h | 2 |
6 files changed, 0 insertions, 15 deletions
diff --git a/include/asm-sparc64/Kbuild b/include/asm-sparc64/Kbuild index 854fd3a65ac..a90dc82129d 100644 --- a/include/asm-sparc64/Kbuild +++ b/include/asm-sparc64/Kbuild | |||
@@ -10,7 +10,6 @@ header-y += bbc.h | |||
10 | header-y += bpp.h | 10 | header-y += bpp.h |
11 | header-y += display7seg.h | 11 | header-y += display7seg.h |
12 | header-y += envctrl.h | 12 | header-y += envctrl.h |
13 | header-y += ipc.h | ||
14 | header-y += openprom.h | 13 | header-y += openprom.h |
15 | header-y += openpromio.h | 14 | header-y += openpromio.h |
16 | header-y += pconf.h | 15 | header-y += pconf.h |
diff --git a/include/asm-sparc64/floppy.h b/include/asm-sparc64/floppy.h index 1783239c7b4..c47f58d6c15 100644 --- a/include/asm-sparc64/floppy.h +++ b/include/asm-sparc64/floppy.h | |||
@@ -84,8 +84,6 @@ static struct sun_floppy_ops sun_fdops; | |||
84 | #define fd_free_irq() sun_fdops.fd_free_irq() | 84 | #define fd_free_irq() sun_fdops.fd_free_irq() |
85 | #define fd_eject(drive) sun_fdops.fd_eject(drive) | 85 | #define fd_eject(drive) sun_fdops.fd_eject(drive) |
86 | 86 | ||
87 | static int FLOPPY_MOTOR_MASK = 0x10; | ||
88 | |||
89 | /* Super paranoid... */ | 87 | /* Super paranoid... */ |
90 | #undef HAVE_DISABLE_HLT | 88 | #undef HAVE_DISABLE_HLT |
91 | 89 | ||
@@ -622,7 +620,6 @@ isa_done: | |||
622 | sun_fdops.fd_eject = sun_pci_fd_eject; | 620 | sun_fdops.fd_eject = sun_pci_fd_eject; |
623 | 621 | ||
624 | fdc_status = (unsigned long) &sun_fdc->status_82077; | 622 | fdc_status = (unsigned long) &sun_fdc->status_82077; |
625 | FLOPPY_MOTOR_MASK = 0xf0; | ||
626 | 623 | ||
627 | allowed_drive_mask = 0; | 624 | allowed_drive_mask = 0; |
628 | sun_floppy_types[0] = 0; | 625 | sun_floppy_types[0] = 0; |
@@ -729,7 +726,6 @@ static unsigned long __init sun_floppy_init(void) | |||
729 | sun_fdops.fd_eject = sun_pci_fd_eject; | 726 | sun_fdops.fd_eject = sun_pci_fd_eject; |
730 | 727 | ||
731 | fdc_status = (unsigned long) &sun_fdc->status_82077; | 728 | fdc_status = (unsigned long) &sun_fdc->status_82077; |
732 | FLOPPY_MOTOR_MASK = 0xf0; | ||
733 | 729 | ||
734 | /* | 730 | /* |
735 | * XXX: Find out on which machines this is really needed. | 731 | * XXX: Find out on which machines this is really needed. |
diff --git a/include/asm-sparc64/io.h b/include/asm-sparc64/io.h index 9565a892801..cd7ef3097ac 100644 --- a/include/asm-sparc64/io.h +++ b/include/asm-sparc64/io.h | |||
@@ -474,12 +474,6 @@ extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | |||
474 | #define sbus_iounmap(__addr, __size) \ | 474 | #define sbus_iounmap(__addr, __size) \ |
475 | release_region((unsigned long)(__addr), (__size)) | 475 | release_region((unsigned long)(__addr), (__size)) |
476 | 476 | ||
477 | /* Nothing to do */ | ||
478 | |||
479 | #define dma_cache_inv(_start,_size) do { } while (0) | ||
480 | #define dma_cache_wback(_start,_size) do { } while (0) | ||
481 | #define dma_cache_wback_inv(_start,_size) do { } while (0) | ||
482 | |||
483 | /* | 477 | /* |
484 | * Convert a physical pointer to a virtual kernel pointer for /dev/mem | 478 | * Convert a physical pointer to a virtual kernel pointer for /dev/mem |
485 | * access | 479 | * access |
diff --git a/include/asm-sparc64/ipc.h b/include/asm-sparc64/ipc.h deleted file mode 100644 index a46e3d9c2a3..00000000000 --- a/include/asm-sparc64/ipc.h +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | #include <asm-generic/ipc.h> | ||
diff --git a/include/asm-sparc64/semaphore.h b/include/asm-sparc64/semaphore.h index 093dcc6788d..7f7c0c4e024 100644 --- a/include/asm-sparc64/semaphore.h +++ b/include/asm-sparc64/semaphore.h | |||
@@ -26,7 +26,6 @@ struct semaphore { | |||
26 | struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) | 26 | struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) |
27 | 27 | ||
28 | #define DECLARE_MUTEX(name) __DECLARE_SEMAPHORE_GENERIC(name, 1) | 28 | #define DECLARE_MUTEX(name) __DECLARE_SEMAPHORE_GENERIC(name, 1) |
29 | #define DECLARE_MUTEX_LOCKED(name) __DECLARE_SEMAPHORE_GENERIC(name, 0) | ||
30 | 29 | ||
31 | static inline void sema_init (struct semaphore *sem, int val) | 30 | static inline void sema_init (struct semaphore *sem, int val) |
32 | { | 31 | { |
diff --git a/include/asm-sparc64/shmparam.h b/include/asm-sparc64/shmparam.h index 911d0427de6..8c66fded8a3 100644 --- a/include/asm-sparc64/shmparam.h +++ b/include/asm-sparc64/shmparam.h | |||
@@ -1,7 +1,6 @@ | |||
1 | /* $Id: shmparam.h,v 1.5 2001/09/24 21:17:57 kanoj Exp $ */ | 1 | /* $Id: shmparam.h,v 1.5 2001/09/24 21:17:57 kanoj Exp $ */ |
2 | #ifndef _ASMSPARC64_SHMPARAM_H | 2 | #ifndef _ASMSPARC64_SHMPARAM_H |
3 | #define _ASMSPARC64_SHMPARAM_H | 3 | #define _ASMSPARC64_SHMPARAM_H |
4 | #ifdef __KERNEL__ | ||
5 | 4 | ||
6 | #include <asm/spitfire.h> | 5 | #include <asm/spitfire.h> |
7 | 6 | ||
@@ -9,5 +8,4 @@ | |||
9 | /* attach addr a multiple of this */ | 8 | /* attach addr a multiple of this */ |
10 | #define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE) | 9 | #define SHMLBA ((PAGE_SIZE > L1DCACHE_SIZE) ? PAGE_SIZE : L1DCACHE_SIZE) |
11 | 10 | ||
12 | #endif /* __KERNEL__ */ | ||
13 | #endif /* _ASMSPARC64_SHMPARAM_H */ | 11 | #endif /* _ASMSPARC64_SHMPARAM_H */ |