mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 07:34:03 -04:00
Merge branch 'master' of /home/trondmy/repositories/git/linux-2.6/
This commit is contained in:
@@ -30,11 +30,9 @@ struct spi_board_info;
|
||||
struct platform_device *
|
||||
at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n);
|
||||
|
||||
struct lcdc_platform_data {
|
||||
unsigned long fbmem_start;
|
||||
unsigned long fbmem_size;
|
||||
};
|
||||
struct atmel_lcdfb_info;
|
||||
struct platform_device *
|
||||
at32_add_device_lcdc(unsigned int id, struct lcdc_platform_data *data);
|
||||
at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data,
|
||||
unsigned long fbmem_start, unsigned long fbmem_len);
|
||||
|
||||
#endif /* __ASM_ARCH_BOARD_H */
|
||||
|
||||
@@ -5,13 +5,22 @@
|
||||
|
||||
/* Grossly misnamed. */
|
||||
enum die_val {
|
||||
DIE_FAULT,
|
||||
DIE_BREAKPOINT,
|
||||
DIE_SSTEP,
|
||||
DIE_PAGE_FAULT,
|
||||
};
|
||||
|
||||
int register_page_fault_notifier(struct notifier_block *nb);
|
||||
int unregister_page_fault_notifier(struct notifier_block *nb);
|
||||
/*
|
||||
* These are only here because kprobes.c wants them to implement a
|
||||
* blatant layering violation. Will hopefully go away soon once all
|
||||
* architectures are updated.
|
||||
*/
|
||||
static inline int register_page_fault_notifier(struct notifier_block *nb)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
static inline int unregister_page_fault_notifier(struct notifier_block *nb)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* __ASM_AVR32_KDEBUG_H */
|
||||
|
||||
@@ -26,6 +26,7 @@ struct arch_specific_insn {
|
||||
kprobe_opcode_t insn[MAX_INSN_SIZE];
|
||||
};
|
||||
|
||||
extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
|
||||
extern int kprobe_exceptions_notify(struct notifier_block *self,
|
||||
unsigned long val, void *data);
|
||||
|
||||
|
||||
@@ -296,9 +296,12 @@
|
||||
#define __NR_shmctl 277
|
||||
|
||||
#define __NR_utimensat 278
|
||||
#define __NR_signalfd 279
|
||||
#define __NR_timerfd 280
|
||||
#define __NR_eventfd 281
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#define NR_syscalls 279
|
||||
#define NR_syscalls 282
|
||||
|
||||
|
||||
#define __ARCH_WANT_IPC_PARSE_VERSION
|
||||
|
||||
@@ -28,14 +28,24 @@
|
||||
*/
|
||||
#include <linux/notifier.h>
|
||||
|
||||
extern int register_page_fault_notifier(struct notifier_block *);
|
||||
extern int unregister_page_fault_notifier(struct notifier_block *);
|
||||
/*
|
||||
* These are only here because kprobes.c wants them to implement a
|
||||
* blatant layering violation. Will hopefully go away soon once all
|
||||
* architectures are updated.
|
||||
*/
|
||||
static inline int register_page_fault_notifier(struct notifier_block *nb)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
static inline int unregister_page_fault_notifier(struct notifier_block *nb)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
enum die_val {
|
||||
DIE_BREAK = 1,
|
||||
DIE_FAULT,
|
||||
DIE_OOPS,
|
||||
DIE_PAGE_FAULT,
|
||||
DIE_MACHINE_HALT,
|
||||
DIE_MACHINE_RESTART,
|
||||
DIE_MCA_MONARCH_ENTER,
|
||||
|
||||
@@ -120,6 +120,7 @@ struct arch_specific_insn {
|
||||
unsigned short slot;
|
||||
};
|
||||
|
||||
extern int kprobes_fault_handler(struct pt_regs *regs, int trapnr);
|
||||
extern int kprobe_exceptions_notify(struct notifier_block *self,
|
||||
unsigned long val, void *data);
|
||||
|
||||
|
||||
@@ -296,11 +296,14 @@
|
||||
#define __NR_getcpu 1304
|
||||
#define __NR_epoll_pwait 1305
|
||||
#define __NR_utimensat 1306
|
||||
#define __NR_signalfd 1307
|
||||
#define __NR_timerfd 1308
|
||||
#define __NR_eventfd 1309
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
|
||||
#define NR_syscalls 283 /* length of syscall table */
|
||||
#define NR_syscalls 286 /* length of syscall table */
|
||||
|
||||
#define __ARCH_WANT_SYS_RT_SIGACTION
|
||||
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
|
||||
|
||||
@@ -940,6 +940,54 @@ struct hv_fault_status {
|
||||
*/
|
||||
#define HV_FAST_CONS_PUTCHAR 0x61
|
||||
|
||||
/* con_read()
|
||||
* TRAP: HV_FAST_TRAP
|
||||
* FUNCTION: HV_FAST_CONS_READ
|
||||
* ARG0: buffer real address
|
||||
* ARG1: buffer size in bytes
|
||||
* RET0: status
|
||||
* RET1: bytes read or BREAK or HUP
|
||||
* ERRORS: EWOULDBLOCK No character available.
|
||||
*
|
||||
* Reads characters into a buffer from the console device. If no
|
||||
* character is available then an EWOULDBLOCK error is returned.
|
||||
* If a character is available, then the returned status is EOK
|
||||
* and the number of bytes read into the given buffer is provided
|
||||
* in RET1.
|
||||
*
|
||||
* A virtual BREAK is represented by the 64-bit RET1 value -1.
|
||||
*
|
||||
* A virtual HUP signal is represented by the 64-bit RET1 value -2.
|
||||
*
|
||||
* If BREAK or HUP are indicated, no bytes were read into buffer.
|
||||
*/
|
||||
#define HV_FAST_CONS_READ 0x62
|
||||
|
||||
/* con_write()
|
||||
* TRAP: HV_FAST_TRAP
|
||||
* FUNCTION: HV_FAST_CONS_WRITE
|
||||
* ARG0: buffer real address
|
||||
* ARG1: buffer size in bytes
|
||||
* RET0: status
|
||||
* RET1: bytes written
|
||||
* ERRORS: EWOULDBLOCK Output buffer currently full, would block
|
||||
*
|
||||
* Send a characters in buffer to the console device. Breaks must be
|
||||
* sent using con_putchar().
|
||||
*/
|
||||
#define HV_FAST_CONS_WRITE 0x63
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
extern long sun4v_con_getchar(long *status);
|
||||
extern long sun4v_con_putchar(long c);
|
||||
extern long sun4v_con_read(unsigned long buffer,
|
||||
unsigned long size,
|
||||
unsigned long *bytes_read);
|
||||
extern unsigned long sun4v_con_write(unsigned long buffer,
|
||||
unsigned long size,
|
||||
unsigned long *bytes_written);
|
||||
#endif
|
||||
|
||||
/* Trap trace services.
|
||||
*
|
||||
* The hypervisor provides a trap tracing capability for privileged
|
||||
@@ -2121,8 +2169,41 @@ struct hv_mmu_statistics {
|
||||
#define HV_FAST_MMUSTAT_INFO 0x103
|
||||
|
||||
/* Function numbers for HV_CORE_TRAP. */
|
||||
#define HV_CORE_VER 0x00
|
||||
#define HV_CORE_SET_VER 0x00
|
||||
#define HV_CORE_PUTCHAR 0x01
|
||||
#define HV_CORE_EXIT 0x02
|
||||
#define HV_CORE_GET_VER 0x03
|
||||
|
||||
/* Hypervisor API groups for use with HV_CORE_SET_VER and
|
||||
* HV_CORE_GET_VER.
|
||||
*/
|
||||
#define HV_GRP_SUN4V 0x0000
|
||||
#define HV_GRP_CORE 0x0001
|
||||
#define HV_GRP_INTR 0x0002
|
||||
#define HV_GRP_SOFT_STATE 0x0003
|
||||
#define HV_GRP_PCI 0x0100
|
||||
#define HV_GRP_LDOM 0x0101
|
||||
#define HV_GRP_SVC_CHAN 0x0102
|
||||
#define HV_GRP_NCS 0x0103
|
||||
#define HV_GRP_NIAG_PERF 0x0200
|
||||
#define HV_GRP_FIRE_PERF 0x0201
|
||||
#define HV_GRP_DIAG 0x0300
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
extern unsigned long sun4v_get_version(unsigned long group,
|
||||
unsigned long *major,
|
||||
unsigned long *minor);
|
||||
extern unsigned long sun4v_set_version(unsigned long group,
|
||||
unsigned long major,
|
||||
unsigned long minor,
|
||||
unsigned long *actual_minor);
|
||||
|
||||
extern int sun4v_hvapi_register(unsigned long group, unsigned long major,
|
||||
unsigned long *minor);
|
||||
extern void sun4v_hvapi_unregister(unsigned long group);
|
||||
extern int sun4v_hvapi_get(unsigned long group,
|
||||
unsigned long *major,
|
||||
unsigned long *minor);
|
||||
#endif
|
||||
|
||||
#endif /* !(_SPARC64_HYPERVISOR_H) */
|
||||
|
||||
@@ -140,6 +140,7 @@ enum {
|
||||
|
||||
ATA_DFLAG_PIO = (1 << 8), /* device limited to PIO mode */
|
||||
ATA_DFLAG_NCQ_OFF = (1 << 9), /* device limited to non-NCQ mode */
|
||||
ATA_DFLAG_SPUNDOWN = (1 << 10), /* XXX: for spindown_compat */
|
||||
ATA_DFLAG_INIT_MASK = (1 << 16) - 1,
|
||||
|
||||
ATA_DFLAG_DETACH = (1 << 16),
|
||||
@@ -173,6 +174,7 @@ enum {
|
||||
ATA_FLAG_SETXFER_POLLING= (1 << 14), /* use polling for SETXFER */
|
||||
ATA_FLAG_IGN_SIMPLEX = (1 << 15), /* ignore SIMPLEX */
|
||||
ATA_FLAG_NO_IORDY = (1 << 16), /* controller lacks iordy */
|
||||
ATA_FLAG_ACPI_SATA = (1 << 17), /* need native SATA ACPI layout */
|
||||
|
||||
/* The following flag belongs to ap->pflags but is kept in
|
||||
* ap->flags because it's referenced in many LLDs and will be
|
||||
@@ -431,7 +433,6 @@ struct ata_device {
|
||||
struct scsi_device *sdev; /* attached SCSI device */
|
||||
/* n_sector is used as CLEAR_OFFSET, read comment above CLEAR_OFFSET */
|
||||
u64 n_sectors; /* size of device, if ATA */
|
||||
u64 n_sectors_boot; /* size of ATA device at startup */
|
||||
unsigned int class; /* ATA_DEV_xxx */
|
||||
u16 id[ATA_ID_WORDS]; /* IDENTIFY xxx DEVICE data */
|
||||
u8 pio_mode;
|
||||
|
||||
@@ -88,7 +88,7 @@ static inline int kmalloc_index(int size)
|
||||
*/
|
||||
WARN_ON_ONCE(size == 0);
|
||||
|
||||
if (size >= (1 << KMALLOC_SHIFT_HIGH))
|
||||
if (size > (1 << KMALLOC_SHIFT_HIGH))
|
||||
return -1;
|
||||
|
||||
if (size > 64 && size <= 96)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <sound/control.h>
|
||||
#include <sound/ac97_codec.h>
|
||||
|
||||
#define SND_SOC_VERSION "0.13.0"
|
||||
#define SND_SOC_VERSION "0.13.1"
|
||||
|
||||
/*
|
||||
* Convenience kcontrol builders
|
||||
@@ -83,6 +83,7 @@
|
||||
#define SND_SOC_DAI_AC97 0x1
|
||||
#define SND_SOC_DAI_I2S 0x2
|
||||
#define SND_SOC_DAI_PCM 0x4
|
||||
#define SND_SOC_DAI_AC97_BUS 0x8 /* for custom i.e. non ac97_codec.c */
|
||||
|
||||
/*
|
||||
* DAI hardware audio formats
|
||||
@@ -278,6 +279,7 @@ struct snd_soc_cpu_ops {
|
||||
struct snd_soc_codec_dai {
|
||||
char *name;
|
||||
int id;
|
||||
unsigned char type;
|
||||
|
||||
/* DAI capabilities */
|
||||
struct snd_soc_pcm_stream playback;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
/* include/version.h. Generated by alsa/ksync script. */
|
||||
#define CONFIG_SND_VERSION "1.0.14rc4"
|
||||
#define CONFIG_SND_DATE " (Wed May 09 09:51:39 2007 UTC)"
|
||||
#define CONFIG_SND_DATE " (Wed May 16 09:45:46 2007 UTC)"
|
||||
|
||||
Reference in New Issue
Block a user