diff options
| author | Avi Kivity <avi@redhat.com> | 2012-08-05 06:25:10 -0400 |
|---|---|---|
| committer | Avi Kivity <avi@redhat.com> | 2012-08-05 06:25:10 -0400 |
| commit | fe56097b23b1303b894eefd91582e4a64247d03f (patch) | |
| tree | 4b3ab60eb19e8cfe2884e2da66dd4e4e25ae2274 /include/linux/libata.h | |
| parent | e115676e042f4d9268c6b6d8cb7dc962aa6cfd7d (diff) | |
| parent | e7882d6c40874a5b5033ca85f7508a602a60b662 (diff) | |
Merge remote-tracking branch 'upstream' into next
- bring back critical fixes (esp. aa67f6096c19bc)
- provide an updated base for development
* upstream: (4334 commits)
missed mnt_drop_write() in do_dentry_open()
UBIFS: nuke pdflush from comments
gfs2: nuke pdflush from comments
drbd: nuke pdflush from comments
nilfs2: nuke write_super from comments
hfs: nuke write_super from comments
vfs: nuke pdflush from comments
jbd/jbd2: nuke write_super from comments
btrfs: nuke pdflush from comments
btrfs: nuke write_super from comments
ext4: nuke pdflush from comments
ext4: nuke write_super from comments
ext3: nuke write_super from comments
Documentation: fix the VM knobs descritpion WRT pdflush
Documentation: get rid of write_super
vfs: kill write_super and sync_supers
ACPI processor: Fix tick_broadcast_mask online/offline regression
ACPI: Only count valid srat memory structures
ACPI: Untangle a return statement for better readability
Linux 3.6-rc1
...
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/libata.h')
| -rw-r--r-- | include/linux/libata.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 53da442f892d..64f90e17e51d 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
| @@ -161,6 +161,8 @@ enum { | |||
| 161 | ATA_DFLAG_DETACH = (1 << 24), | 161 | ATA_DFLAG_DETACH = (1 << 24), |
| 162 | ATA_DFLAG_DETACHED = (1 << 25), | 162 | ATA_DFLAG_DETACHED = (1 << 25), |
| 163 | 163 | ||
| 164 | ATA_DFLAG_DA = (1 << 26), /* device supports Device Attention */ | ||
| 165 | |||
| 164 | ATA_DEV_UNKNOWN = 0, /* unknown device */ | 166 | ATA_DEV_UNKNOWN = 0, /* unknown device */ |
| 165 | ATA_DEV_ATA = 1, /* ATA device */ | 167 | ATA_DEV_ATA = 1, /* ATA device */ |
| 166 | ATA_DEV_ATA_UNSUP = 2, /* ATA device (unsupported) */ | 168 | ATA_DEV_ATA_UNSUP = 2, /* ATA device (unsupported) */ |
| @@ -545,9 +547,6 @@ struct ata_host { | |||
| 545 | struct mutex eh_mutex; | 547 | struct mutex eh_mutex; |
| 546 | struct task_struct *eh_owner; | 548 | struct task_struct *eh_owner; |
| 547 | 549 | ||
| 548 | #ifdef CONFIG_ATA_ACPI | ||
| 549 | acpi_handle acpi_handle; | ||
| 550 | #endif | ||
| 551 | struct ata_port *simplex_claimed; /* channel owning the DMA */ | 550 | struct ata_port *simplex_claimed; /* channel owning the DMA */ |
| 552 | struct ata_port *ports[0]; | 551 | struct ata_port *ports[0]; |
| 553 | }; | 552 | }; |
| @@ -615,7 +614,6 @@ struct ata_device { | |||
| 615 | struct scsi_device *sdev; /* attached SCSI device */ | 614 | struct scsi_device *sdev; /* attached SCSI device */ |
| 616 | void *private_data; | 615 | void *private_data; |
| 617 | #ifdef CONFIG_ATA_ACPI | 616 | #ifdef CONFIG_ATA_ACPI |
| 618 | acpi_handle acpi_handle; | ||
| 619 | union acpi_object *gtf_cache; | 617 | union acpi_object *gtf_cache; |
| 620 | unsigned int gtf_filter; | 618 | unsigned int gtf_filter; |
| 621 | #endif | 619 | #endif |
| @@ -797,7 +795,6 @@ struct ata_port { | |||
| 797 | void *private_data; | 795 | void *private_data; |
| 798 | 796 | ||
| 799 | #ifdef CONFIG_ATA_ACPI | 797 | #ifdef CONFIG_ATA_ACPI |
| 800 | acpi_handle acpi_handle; | ||
| 801 | struct ata_acpi_gtm __acpi_init_gtm; /* use ata_acpi_init_gtm() */ | 798 | struct ata_acpi_gtm __acpi_init_gtm; /* use ata_acpi_init_gtm() */ |
| 802 | #endif | 799 | #endif |
| 803 | /* owned by EH */ | 800 | /* owned by EH */ |
| @@ -1116,6 +1113,8 @@ int ata_acpi_stm(struct ata_port *ap, const struct ata_acpi_gtm *stm); | |||
| 1116 | int ata_acpi_gtm(struct ata_port *ap, struct ata_acpi_gtm *stm); | 1113 | int ata_acpi_gtm(struct ata_port *ap, struct ata_acpi_gtm *stm); |
| 1117 | unsigned long ata_acpi_gtm_xfermask(struct ata_device *dev, | 1114 | unsigned long ata_acpi_gtm_xfermask(struct ata_device *dev, |
| 1118 | const struct ata_acpi_gtm *gtm); | 1115 | const struct ata_acpi_gtm *gtm); |
| 1116 | acpi_handle ata_ap_acpi_handle(struct ata_port *ap); | ||
| 1117 | acpi_handle ata_dev_acpi_handle(struct ata_device *dev); | ||
| 1119 | int ata_acpi_cbl_80wire(struct ata_port *ap, const struct ata_acpi_gtm *gtm); | 1118 | int ata_acpi_cbl_80wire(struct ata_port *ap, const struct ata_acpi_gtm *gtm); |
| 1120 | #else | 1119 | #else |
| 1121 | static inline const struct ata_acpi_gtm *ata_acpi_init_gtm(struct ata_port *ap) | 1120 | static inline const struct ata_acpi_gtm *ata_acpi_init_gtm(struct ata_port *ap) |
