diff options
| author | Jody McIntyre <scjody@modernduck.com> | 2006-01-04 11:43:17 -0500 |
|---|---|---|
| committer | Jody McIntyre <scjody@modernduck.com> | 2006-01-04 11:43:17 -0500 |
| commit | 34b8c399dc04c8e51f014b73458e654570698597 (patch) | |
| tree | 7027eda7a780e9d945ef271f8c2ea5aaede5dd25 /include | |
| parent | eaceec7f6cc5223d0f146086884d67746b8aa81d (diff) | |
| parent | 88026842b0a760145aa71d69e74fbc9ec118ca44 (diff) | |
Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'include')
31 files changed, 104 insertions, 178 deletions
diff --git a/include/acpi/acglobal.h b/include/acpi/acglobal.h index e9c2790139ec..4ab2ca18b8df 100644 --- a/include/acpi/acglobal.h +++ b/include/acpi/acglobal.h | |||
| @@ -211,7 +211,7 @@ ACPI_EXTERN u32 acpi_gbl_original_mode; | |||
| 211 | ACPI_EXTERN u32 acpi_gbl_rsdp_original_location; | 211 | ACPI_EXTERN u32 acpi_gbl_rsdp_original_location; |
| 212 | ACPI_EXTERN u32 acpi_gbl_ns_lookup_count; | 212 | ACPI_EXTERN u32 acpi_gbl_ns_lookup_count; |
| 213 | ACPI_EXTERN u32 acpi_gbl_ps_find_count; | 213 | ACPI_EXTERN u32 acpi_gbl_ps_find_count; |
| 214 | ACPI_EXTERN u32 acpi_gbl_owner_id_mask; | 214 | ACPI_EXTERN u64 acpi_gbl_owner_id_mask; |
| 215 | ACPI_EXTERN u16 acpi_gbl_pm1_enable_register_save; | 215 | ACPI_EXTERN u16 acpi_gbl_pm1_enable_register_save; |
| 216 | ACPI_EXTERN u16 acpi_gbl_global_lock_handle; | 216 | ACPI_EXTERN u16 acpi_gbl_global_lock_handle; |
| 217 | ACPI_EXTERN u8 acpi_gbl_debugger_configuration; | 217 | ACPI_EXTERN u8 acpi_gbl_debugger_configuration; |
diff --git a/include/asm-arm/elf.h b/include/asm-arm/elf.h index 7da97a937548..2d44b42d1847 100644 --- a/include/asm-arm/elf.h +++ b/include/asm-arm/elf.h | |||
| @@ -22,6 +22,8 @@ typedef unsigned long elf_freg_t[3]; | |||
| 22 | #define R_ARM_NONE 0 | 22 | #define R_ARM_NONE 0 |
| 23 | #define R_ARM_PC24 1 | 23 | #define R_ARM_PC24 1 |
| 24 | #define R_ARM_ABS32 2 | 24 | #define R_ARM_ABS32 2 |
| 25 | #define R_ARM_CALL 28 | ||
| 26 | #define R_ARM_JUMP24 29 | ||
| 25 | 27 | ||
| 26 | #define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t)) | 28 | #define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t)) |
| 27 | typedef elf_greg_t elf_gregset_t[ELF_NGREG]; | 29 | typedef elf_greg_t elf_gregset_t[ELF_NGREG]; |
diff --git a/include/asm-i386/param.h b/include/asm-i386/param.h index fa02e67ea86b..095580f3a45c 100644 --- a/include/asm-i386/param.h +++ b/include/asm-i386/param.h | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | #include <linux/config.h> | ||
| 2 | |||
| 3 | #ifndef _ASMi386_PARAM_H | 1 | #ifndef _ASMi386_PARAM_H |
| 4 | #define _ASMi386_PARAM_H | 2 | #define _ASMi386_PARAM_H |
| 5 | 3 | ||
| 6 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
| 5 | # include <linux/config.h> | ||
| 7 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ | 6 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ |
| 8 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ | 7 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ |
| 9 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ | 8 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ |
diff --git a/include/asm-ia64/delay.h b/include/asm-ia64/delay.h index 57182d6f2b9a..bba702076391 100644 --- a/include/asm-ia64/delay.h +++ b/include/asm-ia64/delay.h | |||
| @@ -84,14 +84,6 @@ __delay (unsigned long loops) | |||
| 84 | ia64_delay_loop (loops - 1); | 84 | ia64_delay_loop (loops - 1); |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | static __inline__ void | 87 | extern void udelay (unsigned long usecs); |
| 88 | udelay (unsigned long usecs) | ||
| 89 | { | ||
| 90 | unsigned long start = ia64_get_itc(); | ||
| 91 | unsigned long cycles = usecs*local_cpu_data->cyc_per_usec; | ||
| 92 | |||
| 93 | while (ia64_get_itc() - start < cycles) | ||
| 94 | cpu_relax(); | ||
| 95 | } | ||
| 96 | 88 | ||
| 97 | #endif /* _ASM_IA64_DELAY_H */ | 89 | #endif /* _ASM_IA64_DELAY_H */ |
diff --git a/include/asm-ia64/sal.h b/include/asm-ia64/sal.h index 29df88bdd2bc..313cad0628d0 100644 --- a/include/asm-ia64/sal.h +++ b/include/asm-ia64/sal.h | |||
| @@ -320,7 +320,8 @@ typedef struct sal_log_timestamp { | |||
| 320 | typedef struct sal_log_record_header { | 320 | typedef struct sal_log_record_header { |
| 321 | u64 id; /* Unique monotonically increasing ID */ | 321 | u64 id; /* Unique monotonically increasing ID */ |
| 322 | sal_log_revision_t revision; /* Major and Minor revision of header */ | 322 | sal_log_revision_t revision; /* Major and Minor revision of header */ |
| 323 | u16 severity; /* Error Severity */ | 323 | u8 severity; /* Error Severity */ |
| 324 | u8 validation_bits; /* 0: platform_guid, 1: !timestamp */ | ||
| 324 | u32 len; /* Length of this error log in bytes */ | 325 | u32 len; /* Length of this error log in bytes */ |
| 325 | sal_log_timestamp_t timestamp; /* Timestamp */ | 326 | sal_log_timestamp_t timestamp; /* Timestamp */ |
| 326 | efi_guid_t platform_guid; /* Unique OEM Platform ID */ | 327 | efi_guid_t platform_guid; /* Unique OEM Platform ID */ |
diff --git a/include/asm-ia64/topology.h b/include/asm-ia64/topology.h index a9f738bf18a7..f7c330467e7e 100644 --- a/include/asm-ia64/topology.h +++ b/include/asm-ia64/topology.h | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | /* | 38 | /* |
| 39 | * Returns the number of the first CPU on Node 'node'. | 39 | * Returns the number of the first CPU on Node 'node'. |
| 40 | */ | 40 | */ |
| 41 | #define node_to_first_cpu(node) (__ffs(node_to_cpumask(node))) | 41 | #define node_to_first_cpu(node) (first_cpu(node_to_cpumask(node))) |
| 42 | 42 | ||
| 43 | /* | 43 | /* |
| 44 | * Determines the node for a given pci bus | 44 | * Determines the node for a given pci bus |
diff --git a/include/asm-mips/mach-au1x00/au1xxx_ide.h b/include/asm-mips/mach-au1x00/au1xxx_ide.h index 33d275c3b84c..e867b4ef96d1 100644 --- a/include/asm-mips/mach-au1x00/au1xxx_ide.h +++ b/include/asm-mips/mach-au1x00/au1xxx_ide.h | |||
| @@ -74,9 +74,6 @@ typedef struct | |||
| 74 | u8 white_list, black_list; | 74 | u8 white_list, black_list; |
| 75 | struct dbdma_cmd *dma_table_cpu; | 75 | struct dbdma_cmd *dma_table_cpu; |
| 76 | dma_addr_t dma_table_dma; | 76 | dma_addr_t dma_table_dma; |
| 77 | struct scatterlist *sg_table; | ||
| 78 | int sg_nents; | ||
| 79 | int sg_dma_direction; | ||
| 80 | #endif | 77 | #endif |
| 81 | struct device *dev; | 78 | struct device *dev; |
| 82 | int irq; | 79 | int irq; |
| @@ -87,11 +84,6 @@ typedef struct | |||
| 87 | } _auide_hwif; | 84 | } _auide_hwif; |
| 88 | 85 | ||
| 89 | #ifdef CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA | 86 | #ifdef CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA |
| 90 | struct drive_list_entry { | ||
| 91 | const char * id_model; | ||
| 92 | const char * id_firmware; | ||
| 93 | }; | ||
| 94 | |||
| 95 | /* HD white list */ | 87 | /* HD white list */ |
| 96 | static const struct drive_list_entry dma_white_list [] = { | 88 | static const struct drive_list_entry dma_white_list [] = { |
| 97 | /* | 89 | /* |
| @@ -167,13 +159,9 @@ int __init auide_probe(void); | |||
| 167 | * Multi-Word DMA + DbDMA functions | 159 | * Multi-Word DMA + DbDMA functions |
| 168 | */ | 160 | */ |
| 169 | #ifdef CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA | 161 | #ifdef CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA |
| 170 | |||
| 171 | static int in_drive_list(struct hd_driveid *id, | ||
| 172 | const struct drive_list_entry *drive_table); | ||
| 173 | static int auide_build_sglist(ide_drive_t *drive, struct request *rq); | 162 | static int auide_build_sglist(ide_drive_t *drive, struct request *rq); |
| 174 | static int auide_build_dmatable(ide_drive_t *drive); | 163 | static int auide_build_dmatable(ide_drive_t *drive); |
| 175 | static int auide_dma_end(ide_drive_t *drive); | 164 | static int auide_dma_end(ide_drive_t *drive); |
| 176 | static void auide_dma_start(ide_drive_t *drive ); | ||
| 177 | ide_startstop_t auide_dma_intr (ide_drive_t *drive); | 165 | ide_startstop_t auide_dma_intr (ide_drive_t *drive); |
| 178 | static void auide_dma_exec_cmd(ide_drive_t *drive, u8 command); | 166 | static void auide_dma_exec_cmd(ide_drive_t *drive, u8 command); |
| 179 | static int auide_dma_setup(ide_drive_t *drive); | 167 | static int auide_dma_setup(ide_drive_t *drive); |
| @@ -188,8 +176,6 @@ int __init auide_probe(void); | |||
| 188 | static void auide_ddma_rx_callback(int irq, void *param, | 176 | static void auide_ddma_rx_callback(int irq, void *param, |
| 189 | struct pt_regs *regs); | 1 | |
