diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-17 08:23:04 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-17 08:23:04 -0400 |
| commit | 5cf4cf65a8ccca44ec9b357ebdb2b517269d7e8a (patch) | |
| tree | beba3ecc27c64e0c22b1a21201f1999afe9834f2 /include | |
| parent | 55d3ecab2d16be3525ba24a96ba3a67692af1f09 (diff) | |
| parent | b2cd64153b94473f6bd82448a68b8e8c041676ea (diff) | |
Merge branch 'master' of /home/trondmy/repositories/git/linux-2.6/
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-avr32/arch-at32ap/board.h | 8 | ||||
| -rw-r--r-- | include/asm-avr32/kdebug.h | 17 | ||||
| -rw-r--r-- | include/asm-avr32/kprobes.h | 1 | ||||
| -rw-r--r-- | include/asm-avr32/unistd.h | 5 | ||||
| -rw-r--r-- | include/asm-ia64/kdebug.h | 16 | ||||
| -rw-r--r-- | include/asm-ia64/kprobes.h | 1 | ||||
| -rw-r--r-- | include/asm-ia64/unistd.h | 5 | ||||
| -rw-r--r-- | include/asm-sparc64/hypervisor.h | 83 | ||||
| -rw-r--r-- | include/linux/libata.h | 3 | ||||
| -rw-r--r-- | include/linux/slub_def.h | 2 | ||||
| -rw-r--r-- | include/sound/soc.h | 4 | ||||
| -rw-r--r-- | include/sound/version.h | 2 |
12 files changed, 128 insertions, 19 deletions
diff --git a/include/asm-avr32/arch-at32ap/board.h b/include/asm-avr32/arch-at32ap/board.h index 1a7b07d436ff..9fd2e32f84b8 100644 --- a/include/asm-avr32/arch-at32ap/board.h +++ b/include/asm-avr32/arch-at32ap/board.h | |||
| @@ -30,11 +30,9 @@ struct spi_board_info; | |||
| 30 | struct platform_device * | 30 | struct platform_device * |
| 31 | at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n); | 31 | at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n); |
| 32 | 32 | ||
| 33 | struct lcdc_platform_data { | 33 | struct atmel_lcdfb_info; |
| 34 | unsigned long fbmem_start; | ||
| 35 | unsigned long fbmem_size; | ||
| 36 | }; | ||
| 37 | struct platform_device * | 34 | struct platform_device * |
| 38 | at32_add_device_lcdc(unsigned int id, struct lcdc_platform_data *data); | 35 | at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data, |
| 36 | unsigned long fbmem_start, unsigned long fbmem_len); | ||
| 39 | 37 | ||
| 40 | #endif /* __ASM_ARCH_BOARD_H */ | 38 | #endif /* __ASM_ARCH_BOARD_H */ |
diff --git a/include/asm-avr32/kdebug.h b/include/asm-avr32/kdebug.h index de419278fc39..7f54e2b15d13 100644 --- a/include/asm-avr32/kdebug.h +++ b/include/asm-avr32/kdebug.h | |||
| @@ -5,13 +5,22 @@ | |||
| 5 | 5 | ||
| 6 | /* Grossly misnamed. */ | 6 | /* Grossly misnamed. */ |
| 7 | enum die_val { | 7 | enum die_val { |
| 8 | DIE_FAULT, | ||
| 9 | DIE_BREAKPOINT, | 8 | DIE_BREAKPOINT, |
| 10 | DIE_SSTEP, | 9 | DIE_SSTEP, |
| 11 | DIE_PAGE_FAULT, | ||
| 12 | }; | 10 | }; |
| 13 | 11 | ||
| 14 | int register_page_fault_notifier(struct notifier_block *nb); | 12 | /* |
| 15 | int unregister_page_fault_notifier(struct notifier_block *nb); | 13 | * These are only here because kprobes.c wants them to implement a |
| 14 | * blatant layering violation. Will hopefully go away soon once all | ||
| 15 | * architectures are updated. | ||
| 16 | */ | ||
| 17 | static inline int register_page_fault_notifier(struct notifier_block *nb) | ||
| 18 | { | ||
| 19 | return 0; | ||
| 20 | } | ||
| 21 | static inline int unregister_page_fault_notifier(struct notifier_block *nb) | ||
| 22 | { | ||
| 23 | return 0; | ||
| 24 | } | ||
| 16 | 25 | ||
| 17 | #endif /* __ASM_AVR32_KDEBUG_H */ | 26 | #endif /* __ASM_AVR32_KDEBUG_H */ |
diff --git a/include/asm-avr32/kprobes.h b/include/asm-avr32/kprobes.h index 09a5cbe2f896..190a6377c809 100644 --- a/include/asm-avr32/kprobes.h +++ b/include/asm-avr32/kprobes.h | |||
| @@ -26,6 +26,7 @@ struct arch_specific_insn { | |||
| 26 | kprobe_opcode_t insn[MAX_INSN_SIZE]; | 26 | kprobe_opcode_t insn[MAX_INSN_SIZE]; |
| 27 | }; | 27 | }; |
| 28 | 28 | ||
| 29 | extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr); | ||
| 29 | extern int kprobe_exceptions_notify(struct notifier_block *self, | 30 | extern int kprobe_exceptions_notify(struct notifier_block *self, |
| 30 | unsigned long val, void *data); | 31 | unsigned long val, void *data); |
| 31 | 32 | ||
diff --git a/include/asm-avr32/unistd.h b/include/asm-avr32/unistd.h index 2418cce624cc..3b4e35b55c82 100644 --- a/include/asm-avr32/unistd.h +++ b/include/asm-avr32/unistd.h | |||
| @@ -296,9 +296,12 @@ | |||
| 296 | #define __NR_shmctl 277 | 296 | #define __NR_shmctl 277 |
| 297 | 297 | ||
| 298 | #define __NR_utimensat 278 | 298 | #define __NR_utimensat 278 |
| 299 | #define __NR_signalfd 279 | ||
| 300 | #define __NR_timerfd 280 | ||
| 301 | #define __NR_eventfd 281 | ||
| 299 | 302 | ||
| 300 | #ifdef __KERNEL__ | 303 | #ifdef __KERNEL__ |
| 301 | #define NR_syscalls 279 | 304 | #define NR_syscalls 282 |
| 302 | 305 | ||
| 303 | 306 | ||
| 304 | #define __ARCH_WANT_IPC_PARSE_VERSION | 307 | #define __ARCH_WANT_IPC_PARSE_VERSION |
diff --git a/include/asm-ia64/kdebug.h b/include/asm-ia64/kdebug.h index ba211e011a1d..320cd8e754ea 100644 --- a/include/asm-ia64/kdebug.h +++ b/include/asm-ia64/kdebug.h | |||
| @@ -28,14 +28,24 @@ | |||
| 28 | */ | 28 | */ |
| 29 | #include <linux/notifier.h> | 29 | #include <linux/notifier.h> |
| 30 | 30 | ||
| 31 | extern int register_page_fault_notifier(struct notifier_block *); | 31 | /* |
| 32 | extern int unregister_page_fault_notifier(struct notifier_block *); | 32 | * These are only here because kprobes.c wants them to implement a |
| 33 | * blatant layering violation. Will hopefully go away soon once all | ||
| 34 | * architectures are updated. | ||
| 35 | */ | ||
| 36 | static inline int register_page_fault_notifier(struct notifier_block *nb) | ||
| 37 | { | ||
| 38 | return 0; | ||
| 39 | } | ||
| 40 | static inline int unregister_page_fault_notifier(struct notifier_block *nb) | ||
| 41 | { | ||
| 42 | return 0; | ||
| 43 | } | ||
| 33 | 44 | ||
| 34 | enum die_val { | 45 | enum die_val { |
| 35 | DIE_BREAK = 1, | 46 | DIE_BREAK = 1, |
| 36 | DIE_FAULT, | 47 | DIE_FAULT, |
| 37 | DIE_OOPS, | 48 | DIE_OOPS, |
| 38 | DIE_PAGE_FAULT, | ||
| 39 | DIE_MACHINE_HALT, | 49 | DIE_MACHINE_HALT, |
| 40 | DIE_MACHINE_RESTART, | 50 | DIE_MACHINE_RESTART, |
| 41 | DIE_MCA_MONARCH_ENTER, | 51 | DIE_MCA_MONARCH_ENTER, |
diff --git a/include/asm-ia64/kprobes.h b/include/asm-ia64/kprobes.h index 2abc98b336f3..6382e52ec227 100644 --- a/include/asm-ia64/kprobes.h +++ b/include/asm-ia64/kprobes.h | |||
| @@ -120,6 +120,7 @@ struct arch_specific_insn { | |||
| 120 | unsigned short slot; | 120 | unsigned short slot; |
| 121 | }; | 121 | }; |
| 122 | 122 | ||
| 123 | extern int kprobes_fault_handler(struct pt_regs *regs, int trapnr); | ||
| 123 | extern int kprobe_exceptions_notify(struct notifier_block *self, | 124 | extern int kprobe_exceptions_notify(struct notifier_block *self, |
| 124 | unsigned long val, void *data); | 125 | unsigned long val, void *data); |
| 125 | 126 | ||
diff --git a/include/asm-ia64/unistd.h b/include/asm-ia64/unistd.h index f049bc40ca7d..d7781a2ddefe 100644 --- a/include/asm-ia64/unistd.h +++ b/include/asm-ia64/unistd.h | |||
| @@ -296,11 +296,14 @@ | |||
| 296 | #define __NR_getcpu 1304 | 296 | #define __NR_getcpu 1304 |
| 297 | #define __NR_epoll_pwait 1305 | 297 | #define __NR_epoll_pwait 1305 |
| 298 | #define __NR_utimensat 1306 | 298 | #define __NR_utimensat 1306 |
| 299 | #define __NR_signalfd 1307 | ||
| 300 | #define __NR_timerfd 1308 | ||
| 301 | #define __NR_eventfd 1309 | ||
| 299 | 302 | ||
| 300 | #ifdef __KERNEL__ | 303 | #ifdef __KERNEL__ |
| 301 | 304 | ||
| 302 | 305 | ||
| 303 | #define NR_syscalls 283 /* length of syscall table */ | 306 | #define NR_syscalls 286 /* length of syscall table */ |
| 304 | 307 | ||
| 305 | #define __ARCH_WANT_SYS_RT_SIGACTION | 308 | #define __ARCH_WANT_SYS_RT_SIGACTION |
| 306 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | 309 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND |
diff --git a/include/asm-sparc64/hypervisor.h b/include/asm-sparc64/hypervisor.h index 612bf319753f..a5558c87556d 100644 --- a/include/asm-sparc64/hypervisor.h +++ b/include/asm-sparc64/hypervisor.h | |||
| @@ -940,6 +940,54 @@ struct hv_fault_status { | |||
| 940 | */ | 940 | */ |
| 941 | #define HV_FAST_CONS_PUTCHAR 0x61 | 941 | #define HV_FAST_CONS_PUTCHAR 0x61 |
| 942 | 942 | ||
| 943 | /* con_read() | ||
| 944 | * TRAP: HV_FAST_TRAP | ||
| 945 | * FUNCTION: HV_FAST_CONS_READ | ||
| 946 | * ARG0: buffer real address | ||
| 947 | * ARG1: buffer size in bytes | ||
| 948 | * RET0: status | ||
| 949 | * RET1: bytes read or BREAK or HUP | ||
| 950 | * ERRORS: EWOULDBLOCK No character available. | ||
| 951 | * | ||
| 952 | * Reads characters into a buffer from the console device. If no | ||
| 953 | * character is available then an EWOULDBLOCK error is returned. | ||
| 954 | * If a character is available, then the returned status is EOK | ||
| 955 | * and the number of bytes read into the given buffer is provided | ||
| 956 | * in RET1. | ||
| 957 | * | ||
| 958 | * A virtual BREAK is represented by the 64-bit RET1 value -1. | ||
| 959 | * | ||
| 960 | * A virtual HUP signal is represented by the 64-bit RET1 value -2. | ||
| 961 | * | ||
| 962 | * If BREAK or HUP are indicated, no bytes were read into buffer. | ||
| 963 | */ | ||
| 964 | #define HV_FAST_CONS_READ 0x62 | ||
| 965 | |||
| 966 | /* con_write() | ||
| 967 | * TRAP: HV_FAST_TRAP | ||
| 968 | * FUNCTION: HV_FAST_CONS_WRITE | ||
| 969 | * ARG0: buffer real address | ||
| 970 | * ARG1: buffer size in bytes | ||
| 971 | * RET0: status | ||
| 972 | * RET1: bytes written | ||
| 973 | * ERRORS: EWOULDBLOCK Output buffer currently full, would block | ||
| 974 | * | ||
| 975 | * Send a characters in buffer to the console device. Breaks must be | ||
| 976 | * sent using con_putchar(). | ||
| 977 | */ | ||
| 978 | #define HV_FAST_CONS_WRITE 0x63 | ||
| 979 | |||
| 980 | #ifndef __ASSEMBLY__ | ||
| 981 | extern long sun4v_con_getchar(long *status); | ||
| 982 | extern long sun4v_con_putchar(long c); | ||
| 983 | extern long sun4v_con_read(unsigned long buffer, | ||
| 984 | unsigned long size, | ||
| 985 | unsigned long *bytes_read); | ||
| 986 | extern unsigned long sun4v_con_write(unsigned long buffer, | ||
| 987 | unsigned long size, | ||
| 988 | unsigned long *bytes_written); | ||
| 989 | #endif | ||
| 990 | |||
| 943 | /* Trap trace services. | 991 | /* Trap trace services. |
| 944 | * | 992 | * |
| 945 | * The hypervisor provides a trap tracing capability for privileged | 993 | * The hypervisor provides a trap tracing capability for privileged |
| @@ -2121,8 +2169,41 @@ struct hv_mmu_statistics { | |||
| 2121 | #define HV_FAST_MMUSTAT_INFO 0x103 | 2169 | #define HV_FAST_MMUSTAT_INFO 0x103 |
| 2122 | 2170 | ||
| 2123 | /* Function numbers for HV_CORE_TRAP. */ | 2171 | /* Function numbers for HV_CORE_TRAP. */ |
| 2124 | #define HV_CORE_VER 0x00 | 2172 | #define HV_CORE_SET_VER 0x00 |
| 2125 | #define HV_CORE_PUTCHAR 0x01 | 2173 | #define HV_CORE_PUTCHAR 0x01 |
| 2126 | #define HV_CORE_EXIT 0x02 | 2174 | #define HV_CORE_EXIT 0x02 |
| 2175 | #define HV_CORE_GET_VER 0x03 | ||
| 2176 | |||
| 2177 | /* Hypervisor API groups for use with HV_CORE_SET_VER and | ||
| 2178 | * HV_CORE_GET_VER. | ||
| 2179 | */ | ||
| 2180 | #define HV_GRP_SUN4V 0x0000 | ||
| 2181 | #define HV_GRP_CORE 0x0001 | ||
| 2182 | #define HV_GRP_INTR 0x0002 | ||
| 2183 | #define HV_GRP_SOFT_STATE 0x0003 | ||
| 2184 | #define HV_GRP_PCI 0x0100 | ||
| 2185 | #define HV_GRP_LDOM 0x0101 | ||
| 2186 | #define HV_GRP_SVC_CHAN 0x0102 | ||
| 2187 | #define HV_GRP_NCS 0x0103 | ||
| 2188 | #define HV_GRP_NIAG_PERF 0x0200 | ||
| 2189 | #define HV_GRP_FIRE_PERF 0x0201 | ||
| 2190 | #define HV_GRP_DIAG 0x0300 | ||
| 2191 | |||
| 2192 | #ifndef __ASSEMBLY__ | ||
| 2193 | extern unsigned long sun4v_get_version(unsigned long group, | ||
| 2194 | unsigned long *major, | ||
| 2195 | unsigned long *minor); | ||
| 2196 | extern unsigned long sun4v_set_version(unsigned long group, | ||
| 2197 | unsigned long major, | ||
| 2198 | unsigned long minor, | ||
| 2199 | unsigned long *actual_minor); | ||
| 2200 | |||
| 2201 | extern int sun4v_hvapi_register(unsigned long group, unsigned long major, | ||
| 2202 | unsigned long *minor); | ||
| 2203 | extern void sun4v_hvapi_unregister(unsigned long group); | ||
| 2204 | extern int sun4v_hvapi_get(unsigned long group, | ||
| 2205 | unsigned long *major, | ||
| 2206 | unsigned long *minor); | ||
| 2207 | #endif | ||
| 2127 | 2208 | ||
| 2128 | #endif /* !(_SPARC64_HYPERVISOR_H) */ | 2209 | #endif /* !(_SPARC64_HYPERVISOR_H) */ |
diff --git a/include/linux/libata.h b/include/linux/libata.h index 27d936279574..666592ef0b25 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
| @@ -140,6 +140,7 @@ enum { | |||
| 140 | 140 | ||
| 141 | ATA_DFLAG_PIO = (1 << 8), /* device limited to PIO mode */ | 141 | ATA_DFLAG_PIO = (1 << 8), /* device limited to PIO mode */ |
| 142 | ATA_DFLAG_NCQ_OFF = (1 << 9), /* device limited to non-NCQ mode */ | 142 | ATA_DFLAG_NCQ_OFF = (1 << 9), /* device limited to non-NCQ mode */ |
| 143 | ATA_DFLAG_SPUNDOWN = (1 << 10), /* XXX: for spindown_compat */ | ||
| 143 | ATA_DFLAG_INIT_MASK = (1 << 16) - 1, | 144 | ATA_DFLAG_INIT_MASK = (1 << 16) - 1, |
| 144 | 145 | ||
| 145 | ATA_DFLAG_DETACH = (1 << 16), | 146 | ATA_DFLAG_DETACH = (1 << 16), |
| @@ -173,6 +174,7 @@ enum { | |||
| 173 | ATA_FLAG_SETXFER_POLLING= (1 << 14), /* use polling for SETXFER */ | 174 | ATA_FLAG_SETXFER_POLLING= (1 << 14), /* use polling for SETXFER */ |
| 174 | ATA_FLAG_IGN_SIMPLEX = (1 << 15), /* ignore SIMPLEX */ | 175 | ATA_FLAG_IGN_SIMPLEX = (1 << 15), /* ignore SIMPLEX */ |
| 175 | ATA_FLAG_NO_IORDY = (1 << 16), /* controller lacks iordy */ | 176 | ATA_FLAG_NO_IORDY = (1 << 16), /* controller lacks iordy */ |
| 177 | ATA_FLAG_ACPI_SATA = (1 << 17), /* need native SATA ACPI layout */ | ||
| 176 | 178 | ||
| 177 | /* The following flag belongs to ap->pflags but is kept in | 179 | /* The following flag belongs to ap->pflags but is kept in |
| 178 | * ap->flags because it's referenced in many LLDs and will be | 180 | * ap->flags because it's referenced in many LLDs and will be |
| @@ -431,7 +433,6 @@ struct ata_device { | |||
| 431 | struct scsi_device *sdev; /* attached SCSI device */ | 433 | struct scsi_device *sdev; /* attached SCSI device */ |
| 432 | /* n_sector is used as CLEAR_OFFSET, read comment above CLEAR_OFFSET */ | 434 | /* n_sector is used as CLEAR_OFFSET, read comment above CLEAR_OFFSET */ |
| 433 | u64 n_sectors; /* size of device, if ATA */ | 435 | u64 n_sectors; /* size of device, if ATA */ |
| 434 | u64 n_sectors_boot; /* size of ATA device at startup */ | ||
| 435 | unsigned int class; /* ATA_DEV_xxx */ | 436 | unsigned int class; /* ATA_DEV_xxx */ |
| 436 | u16 id[ATA_ID_WORDS]; /* IDENTIFY xxx DEVICE data */ | 437 | u16 id[ATA_ID_WORDS]; /* IDENTIFY xxx DEVICE data */ |
| 437 | u8 pio_mode; | 438 | u8 pio_mode; |
diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index fd6627e2d115..c6c1f4a120e3 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h | |||
| @@ -88,7 +88,7 @@ static inline int kmalloc_index(int size) | |||
| 88 | */ | 88 | */ |
| 89 | WARN_ON_ONCE(size == 0); | 89 | WARN_ON_ONCE(size == 0); |
| 90 | 90 | ||
| 91 | if (size >= (1 << KMALLOC_SHIFT_HIGH)) | 91 | if (size > (1 << KMALLOC_SHIFT_HIGH)) |
| 92 | return -1; | 92 | return -1; |
| 93 | 93 | ||
| 94 | if (size > 64 && size <= 96) | 94 | if (size > 64 && size <= 96) |
diff --git a/include/sound/soc.h b/include/sound/soc.h index b1dc364b8f74..db6edba8ef08 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | #include <sound/control.h> | 22 | #include <sound/control.h> |
| 23 | #include <sound/ac97_codec.h> | 23 | #include <sound/ac97_codec.h> |
| 24 | 24 | ||
| 25 | #define SND_SOC_VERSION "0.13.0" | 25 | #define SND_SOC_VERSION "0.13.1" |
| 26 | 26 | ||
| 27 | /* | 27 | /* |
| 28 | * Convenience kcontrol builders | 28 | * Convenience kcontrol builders |
| @@ -83,6 +83,7 @@ | |||
| 83 | #define SND_SOC_DAI_AC97 0x1 | 83 | #define SND_SOC_DAI_AC97 0x1 |
| 84 | #define SND_SOC_DAI_I2S 0x2 | 84 | #define SND_SOC_DAI_I2S 0x2 |
| 85 | #define SND_SOC_DAI_PCM 0x4 | 85 | #define SND_SOC_DAI_PCM 0x4 |
| 86 | #define SND_SOC_DAI_AC97_BUS 0x8 /* for custom i.e. non ac97_codec.c */ | ||
| 86 | 87 | ||
| 87 | /* | 88 | /* |
| 88 | * DAI hardware audio formats | 89 | * DAI hardware audio formats |
| @@ -278,6 +279,7 @@ struct snd_soc_cpu_ops { | |||
| 278 | struct snd_soc_codec_dai { | 279 | struct snd_soc_codec_dai { |
| 279 | char *name; | 280 | char *name; |
| 280 | int id; | 281 | int id; |
| 282 | unsigned char type; | ||
| 281 | 283 | ||
| 282 | /* DAI capabilities */ | 284 | /* DAI capabilities */ |
| 283 | struct snd_soc_pcm_stream playback; | 285 | struct snd_soc_pcm_stream playback; |
diff --git a/include/sound/version.h b/include/sound/version.h index e820f0e7bdd3..50ee4fd420fa 100644 --- a/include/sound/version.h +++ b/include/sound/version.h | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | /* include/version.h. Generated by alsa/ksync script. */ | 1 | /* include/version.h. Generated by alsa/ksync script. */ |
| 2 | #define CONFIG_SND_VERSION "1.0.14rc4" | 2 | #define CONFIG_SND_VERSION "1.0.14rc4" |
| 3 | #define CONFIG_SND_DATE " (Wed May 09 09:51:39 2007 UTC)" | 3 | #define CONFIG_SND_DATE " (Wed May 16 09:45:46 2007 UTC)" |
