diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/acpi.h | 1 | ||||
| -rw-r--r-- | include/linux/mmc/card.h | 13 | ||||
| -rw-r--r-- | include/linux/netdevice.h | 6 | ||||
| -rw-r--r-- | include/linux/sched.h | 17 | ||||
| -rw-r--r-- | include/linux/sdla.h | 6 | ||||
| -rw-r--r-- | include/linux/thermal.h | 22 |
6 files changed, 27 insertions, 38 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 1deb2a73c2da..2312e850aab8 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
| @@ -238,7 +238,6 @@ extern int acpi_paddr_to_node(u64 start_addr, u64 size); | |||
| 238 | extern int pnpacpi_disabled; | 238 | extern int pnpacpi_disabled; |
| 239 | 239 | ||
| 240 | #define PXM_INVAL (-1) | 240 | #define PXM_INVAL (-1) |
| 241 | #define NID_INVAL (-1) | ||
| 242 | 241 | ||
| 243 | int acpi_check_resource_conflict(const struct resource *res); | 242 | int acpi_check_resource_conflict(const struct resource *res); |
| 244 | 243 | ||
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index c6927a4d157f..6ad43554ac05 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h | |||
| @@ -64,6 +64,19 @@ struct mmc_ext_csd { | |||
| 64 | unsigned long long enhanced_area_offset; /* Units: Byte */ | 64 | unsigned long long enhanced_area_offset; /* Units: Byte */ |
| 65 | unsigned int enhanced_area_size; /* Units: KB */ | 65 | unsigned int enhanced_area_size; /* Units: KB */ |
| 66 | unsigned int boot_size; /* in bytes */ | 66 | unsigned int boot_size; /* in bytes */ |
| 67 | u8 raw_partition_support; /* 160 */ | ||
| 68 | u8 raw_erased_mem_count; /* 181 */ | ||
| 69 | u8 raw_ext_csd_structure; /* 194 */ | ||
| 70 | u8 raw_card_type; /* 196 */ | ||
| 71 | u8 raw_s_a_timeout; /* 217 */ | ||
| 72 | u8 raw_hc_erase_gap_size; /* 221 */ | ||
| 73 | u8 raw_erase_timeout_mult; /* 223 */ | ||
| 74 | u8 raw_hc_erase_grp_size; /* 224 */ | ||
| 75 | u8 raw_sec_trim_mult; /* 229 */ | ||
| 76 | u8 raw_sec_erase_mult; /* 230 */ | ||
| 77 | u8 raw_sec_feature_support;/* 231 */ | ||
| 78 | u8 raw_trim_mult; /* 232 */ | ||
| 79 | u8 raw_sectors[4]; /* 212 - 4 bytes */ | ||
| 67 | }; | 80 | }; |
| 68 | 81 | ||
| 69 | struct sd_scr { | 82 | struct sd_scr { |
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 54b8b4d7b68f..9e19477991ad 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -1097,12 +1097,6 @@ struct net_device { | |||
| 1097 | #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ | 1097 | #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ |
| 1098 | NETIF_F_FSO) | 1098 | NETIF_F_FSO) |
| 1099 | 1099 | ||
| 1100 | #define NETIF_F_ALL_TX_OFFLOADS (NETIF_F_ALL_CSUM | NETIF_F_SG | \ | ||
| 1101 | NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \ | ||
| 1102 | NETIF_F_HIGHDMA | \ | ||
| 1103 | NETIF_F_SCTP_CSUM | \ | ||
| 1104 | NETIF_F_ALL_FCOE) | ||
| 1105 | |||
| 1106 | /* | 1100 | /* |
| 1107 | * If one device supports one of these features, then enable them | 1101 | * If one device supports one of these features, then enable them |
| 1108 | * for all in netdev_increment_features. | 1102 | * for all in netdev_increment_features. |
diff --git a/include/linux/sched.h b/include/linux/sched.h index 496770a96487..14a6c7b545de 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -844,6 +844,7 @@ enum cpu_idle_type { | |||
| 844 | #define SD_SERIALIZE 0x0400 /* Only a single load balancing instance */ | 844 | #define SD_SERIALIZE 0x0400 /* Only a single load balancing instance */ |
| 845 | #define SD_ASYM_PACKING 0x0800 /* Place busy groups earlier in the domain */ | 845 | #define SD_ASYM_PACKING 0x0800 /* Place busy groups earlier in the domain */ |
| 846 | #define SD_PREFER_SIBLING 0x1000 /* Prefer to place tasks in a sibling domain */ | 846 | #define SD_PREFER_SIBLING 0x1000 /* Prefer to place tasks in a sibling domain */ |
| 847 | #define SD_OVERLAP 0x2000 /* sched_domains of this level overlap */ | ||
| 847 | 848 | ||
| 848 | enum powersavings_balance_level { | 849 | enum powersavings_balance_level { |
| 849 | POWERSAVINGS_BALANCE_NONE = 0, /* No power saving load balance */ | 850 | POWERSAVINGS_BALANCE_NONE = 0, /* No power saving load balance */ |
| @@ -893,16 +894,21 @@ static inline int sd_power_saving_flags(void) | |||
| 893 | return 0; | 894 | return 0; |
| 894 | } | 895 | } |
| 895 | 896 | ||
| 896 | struct sched_group { | 897 | struct sched_group_power { |
| 897 | struct sched_group *next; /* Must be a circular list */ | ||
| 898 | atomic_t ref; | 898 | atomic_t ref; |
| 899 | |||
| 900 | /* | 899 | /* |
| 901 | * CPU power of this group, SCHED_LOAD_SCALE being max power for a | 900 | * CPU power of this group, SCHED_LOAD_SCALE being max power for a |
| 902 | * single CPU. | 901 | * single CPU. |
| 903 | */ | 902 | */ |
| 904 | unsigned int cpu_power, cpu_power_orig; | 903 | unsigned int power, power_orig; |
| 904 | }; | ||
| 905 | |||
| 906 | struct sched_group { | ||
| 907 | struct sched_group *next; /* Must be a circular list */ | ||
| 908 | atomic_t ref; | ||
| 909 | |||
| 905 | unsigned int group_weight; | 910 | unsigned int group_weight; |
| 911 | struct sched_group_power *sgp; | ||
| 906 | 912 | ||
| 907 | /* | 913 | /* |
| 908 | * The CPUs this group covers. | 914 | * The CPUs this group covers. |
| @@ -1254,6 +1260,9 @@ struct task_struct { | |||
| 1254 | #ifdef CONFIG_PREEMPT_RCU | 1260 | #ifdef CONFIG_PREEMPT_RCU |
| 1255 | int rcu_read_lock_nesting; | 1261 | int rcu_read_lock_nesting; |
| 1256 | char rcu_read_unlock_special; | 1262 | char rcu_read_unlock_special; |
| 1263 | #if defined(CONFIG_RCU_BOOST) && defined(CONFIG_TREE_PREEMPT_RCU) | ||
| 1264 | int rcu_boosted; | ||
| 1265 | #endif /* #if defined(CONFIG_RCU_BOOST) && defined(CONFIG_TREE_PREEMPT_RCU) */ | ||
| 1257 | struct list_head rcu_node_entry; | 1266 | struct list_head rcu_node_entry; |
| 1258 | #endif /* #ifdef CONFIG_PREEMPT_RCU */ | 1267 | #endif /* #ifdef CONFIG_PREEMPT_RCU */ |
| 1259 | #ifdef CONFIG_TREE_PREEMPT_RCU | 1268 | #ifdef CONFIG_TREE_PREEMPT_RCU |
diff --git a/include/linux/sdla.h b/include/linux/sdla.h index 564acd3a71c1..9995c7fc3f60 100644 --- a/include/linux/sdla.h +++ b/include/linux/sdla.h | |||
| @@ -112,11 +112,7 @@ struct sdla_dlci_conf { | |||
| 112 | short Tb_max; | 112 | short Tb_max; |
| 113 | }; | 113 | }; |
| 114 | 114 | ||
| 115 | #ifndef __KERNEL__ | 115 | #ifdef __KERNEL__ |
| 116 | |||
| 117 | void sdla(void *cfg_info, char *dev, struct frad_conf *conf, int quiet); | ||
| 118 | |||
| 119 | #else | ||
| 120 | 116 | ||
| 121 | /* important Z80 window addresses */ | 117 | /* important Z80 window addresses */ |
| 122 | #define SDLA_CONTROL_WND 0xE000 | 118 | #define SDLA_CONTROL_WND 0xE000 |
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index d3ec89fb4122..47b4a27e6e97 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h | |||
| @@ -85,22 +85,6 @@ struct thermal_cooling_device { | |||
| 85 | ((long)t-2732+5)/10 : ((long)t-2732-5)/10) | 85 | ((long)t-2732+5)/10 : ((long)t-2732-5)/10) |
| 86 | #define CELSIUS_TO_KELVIN(t) ((t)*10+2732) | 86 | #define CELSIUS_TO_KELVIN(t) ((t)*10+2732) |
| 87 | 87 | ||
| 88 | #if defined(CONFIG_THERMAL_HWMON) | ||
| 89 | /* thermal zone devices with the same type share one hwmon device */ | ||
| 90 | struct thermal_hwmon_device { | ||
| 91 | char type[THERMAL_NAME_LENGTH]; | ||
| 92 | struct device *device; | ||
| 93 | int count; | ||
| 94 | struct list_head tz_list; | ||
| 95 | struct list_head node; | ||
| 96 | }; | ||
| 97 | |||
| 98 | struct thermal_hwmon_attr { | ||
| 99 | struct device_attribute attr; | ||
| 100 | char name[16]; | ||
| 101 | }; | ||
| 102 | #endif | ||
| 103 | |||
| 104 | struct thermal_zone_device { | 88 | struct thermal_zone_device { |
| 105 | int id; | 89 | int id; |
| 106 | char type[THERMAL_NAME_LENGTH]; | 90 | char type[THERMAL_NAME_LENGTH]; |
| @@ -120,12 +104,6 @@ struct thermal_zone_device { | |||
| 120 | struct mutex lock; /* protect cooling devices list */ | 104 | struct mutex lock; /* protect cooling devices list */ |
| 121 | struct list_head node; | 105 | struct list_head node; |
| 122 | struct delayed_work poll_queue; | 106 | struct delayed_work poll_queue; |
| 123 | #if defined(CONFIG_THERMAL_HWMON) | ||
| 124 | struct list_head hwmon_node; | ||
| 125 | struct thermal_hwmon_device *hwmon; | ||
| 126 | struct thermal_hwmon_attr temp_input; /* hwmon sys attr */ | ||
| 127 | struct thermal_hwmon_attr temp_crit; /* hwmon sys attr */ | ||
| 128 | #endif | ||
| 129 | }; | 107 | }; |
| 130 | /* Adding event notification support elements */ | 108 | /* Adding event notification support elements */ |
| 131 | #define THERMAL_GENL_FAMILY_NAME "thermal_event" | 109 | #define THERMAL_GENL_FAMILY_NAME "thermal_event" |
