Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298035
b: refs/heads/master
c: b11de07
h: refs/heads/master
i:
  298033: 9ad6e68
  298031: 597859e
v: v3
  • Loading branch information
Fabio Estevam authored and Len Brown committed Mar 22, 2012
1 parent af1cce4 commit b14ff4d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e80acd1af40fcd91a200b0416a7616b20c5d647
refs/heads/master: b11de07ce561574b6e03c8192b28bad540da8f79
8 changes: 4 additions & 4 deletions trunk/drivers/acpi/acpica/tbfadt.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ static void acpi_tb_convert_fadt(void)
u32 address32;
u32 i;

/* Update the local FADT table header length */

acpi_gbl_FADT.header.length = sizeof(struct acpi_table_fadt);

/*
* Expand the 32-bit FACS and DSDT addresses to 64-bit as necessary.
* Later code will always use the X 64-bit field. Also, check for an
Expand Down Expand Up @@ -404,10 +408,6 @@ static void acpi_tb_convert_fadt(void)
acpi_gbl_FADT.boot_flags = 0;
}

/* Update the local FADT table header length */

acpi_gbl_FADT.header.length = sizeof(struct acpi_table_fadt);

/*
* Expand the ACPI 1.0 32-bit addresses to the ACPI 2.0 64-bit "X"
* generic address structures as necessary. Later code will always use
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/thermal/thermal_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ static LIST_HEAD(thermal_tz_list);
static LIST_HEAD(thermal_cdev_list);
static DEFINE_MUTEX(thermal_list_lock);

static unsigned int thermal_event_seqnum;

static int get_idr(struct idr *idr, struct mutex *lock, int *id)
{
int err;
Expand Down Expand Up @@ -1312,6 +1310,7 @@ int thermal_generate_netlink_event(u32 orig, enum events event)
void *msg_header;
int size;
int result;
static unsigned int thermal_event_seqnum;

/* allocate memory */
size = nla_total_size(sizeof(struct thermal_genl_event)) + \
Expand Down

0 comments on commit b14ff4d

Please sign in to comment.