diff options
| author | Len Brown <len.brown@intel.com> | 2005-12-22 22:01:55 -0500 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2005-12-22 22:01:55 -0500 |
| commit | db9ace7083dbdcc3d02bdd6a1d26132c80b5b726 (patch) | |
| tree | 022e1162c2ef3f83d6214fdc7f3678bc5545714a /include | |
| parent | d8bcd8e41576809f276fa44be5012568296cce41 (diff) | |
| parent | c162eeaa21fde6c27112690f5bc0a461a9f1763e (diff) | |
Auto-update from upstream
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/ipv6_route.h | 1 | ||||
| -rw-r--r-- | include/linux/irq.h | 2 | ||||
| -rw-r--r-- | include/linux/preempt.h | 1 | ||||
| -rw-r--r-- | include/net/if_inet6.h | 1 | ||||
| -rw-r--r-- | include/scsi/scsi_transport_fc.h | 11 |
5 files changed, 15 insertions, 1 deletions
diff --git a/include/linux/ipv6_route.h b/include/linux/ipv6_route.h index e2f935038013..d7c41d1d706a 100644 --- a/include/linux/ipv6_route.h +++ b/include/linux/ipv6_route.h | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | fallback, no routers on link */ | 18 | fallback, no routers on link */ |
| 19 | #define RTF_ADDRCONF 0x00040000 /* addrconf route - RA */ | 19 | #define RTF_ADDRCONF 0x00040000 /* addrconf route - RA */ |
| 20 | #define RTF_PREFIX_RT 0x00080000 /* A prefix only route - RA */ | 20 | #define RTF_PREFIX_RT 0x00080000 /* A prefix only route - RA */ |
| 21 | #define RTF_ANYCAST 0x00100000 /* Anycast */ | ||
| 21 | 22 | ||
| 22 | #define RTF_NONEXTHOP 0x00200000 /* route with no nexthop */ | 23 | #define RTF_NONEXTHOP 0x00200000 /* route with no nexthop */ |
| 23 | #define RTF_EXPIRES 0x00400000 | 24 | #define RTF_EXPIRES 0x00400000 |
diff --git a/include/linux/irq.h b/include/linux/irq.h index c516382fbec2..f04ba20712a2 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include <linux/config.h> | 12 | #include <linux/config.h> |
| 13 | #include <asm/smp.h> /* cpu_online_map */ | 13 | #include <linux/smp.h> |
| 14 | 14 | ||
| 15 | #if !defined(CONFIG_ARCH_S390) | 15 | #if !defined(CONFIG_ARCH_S390) |
| 16 | 16 | ||
diff --git a/include/linux/preempt.h b/include/linux/preempt.h index d9a2f5254a51..5769d14d1e6a 100644 --- a/include/linux/preempt.h +++ b/include/linux/preempt.h | |||
| @@ -48,6 +48,7 @@ do { \ | |||
| 48 | #define preempt_enable() \ | 48 | #define preempt_enable() \ |
| 49 | do { \ | 49 | do { \ |
| 50 | preempt_enable_no_resched(); \ | 50 | preempt_enable_no_resched(); \ |
| 51 | barrier(); \ | ||
| 51 | preempt_check_resched(); \ | 52 | preempt_check_resched(); \ |
| 52 | } while (0) | 53 | } while (0) |
| 53 | 54 | ||
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h index e97a9accb71d..d8234f9bd4c4 100644 --- a/include/net/if_inet6.h +++ b/include/net/if_inet6.h | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | #define IF_RA_MANAGED 0x40 | 24 | #define IF_RA_MANAGED 0x40 |
| 25 | #define IF_RA_RCVD 0x20 | 25 | #define IF_RA_RCVD 0x20 |
| 26 | #define IF_RS_SENT 0x10 | 26 | #define IF_RS_SENT 0x10 |
| 27 | #define IF_READY 0x80000000 | ||
| 27 | 28 | ||
| 28 | /* prefix flags */ | 29 | /* prefix flags */ |
| 29 | #define IF_PREFIX_ONLINK 0x01 | 30 | #define IF_PREFIX_ONLINK 0x01 |
diff --git a/include/scsi/scsi_transport_fc.h b/include/scsi/scsi_transport_fc.h index fac547d32a98..394f14a5b7cb 100644 --- a/include/scsi/scsi_transport_fc.h +++ b/include/scsi/scsi_transport_fc.h | |||
| @@ -79,6 +79,7 @@ enum fc_port_state { | |||
| 79 | FC_PORTSTATE_LINKDOWN, | 79 | FC_PORTSTATE_LINKDOWN, |
| 80 | FC_PORTSTATE_ERROR, | 80 | FC_PORTSTATE_ERROR, |
| 81 | FC_PORTSTATE_LOOPBACK, | 81 | FC_PORTSTATE_LOOPBACK, |
| 82 | FC_PORTSTATE_DELETED, | ||
| 82 | }; | 83 | }; |
| 83 | 84 | ||
| 84 | 85 | ||
| @@ -325,8 +326,14 @@ struct fc_host_attrs { | |||
| 325 | struct list_head rport_bindings; | 326 | struct list_head rport_bindings; |
| 326 | u32 next_rport_number; | 327 | u32 next_rport_number; |
| 327 | u32 next_target_id; | 328 | u32 next_target_id; |
| 329 | u8 flags; | ||
| 330 | struct work_struct rport_del_work; | ||
| 328 | }; | 331 | }; |
| 329 | 332 | ||
| 333 | /* values for struct fc_host_attrs "flags" field: */ | ||
| 334 | #define FC_SHOST_RPORT_DEL_SCHEDULED 0x01 | ||
| 335 | |||
| 336 | |||
| 330 | #define fc_host_node_name(x) \ | 337 | #define fc_host_node_name(x) \ |
| 331 | (((struct fc_host_attrs *)(x)->shost_data)->node_name) | 338 | (((struct fc_host_attrs *)(x)->shost_data)->node_name) |
| 332 | #define fc_host_port_name(x) \ | 339 | #define fc_host_port_name(x) \ |
| @@ -365,6 +372,10 @@ struct fc_host_attrs { | |||
| 365 | (((struct fc_host_attrs *)(x)->shost_data)->next_rport_number) | 372 | (((struct fc_host_attrs *)(x)->shost_data)->next_rport_number) |
| 366 | #define fc_host_next_target_id(x) \ | 373 | #define fc_host_next_target_id(x) \ |
| 367 | (((struct fc_host_attrs *)(x)->shost_data)->next_target_id) | 374 | (((struct fc_host_attrs *)(x)->shost_data)->next_target_id) |
| 375 | #define fc_host_flags(x) \ | ||
| 376 | (((struct fc_host_attrs *)(x)->shost_data)->flags) | ||
| 377 | #define fc_host_rport_del_work(x) \ | ||
| 378 | (((struct fc_host_attrs *)(x)->shost_data)->rport_del_work) | ||
| 368 | 379 | ||
| 369 | 380 | ||
| 370 | /* The functions by which the transport class and the driver communicate */ | 381 | /* The functions by which the transport class and the driver communicate */ |
