ACPI: add missing newline to printk
...and restore reverse xmas tree while at it. Signed-off-by: Laszlo Toth <laszlth@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
6da6c0db53
commit
dd73e72259
|
@ -8,8 +8,8 @@ void acpi_reboot(void)
|
||||||
{
|
{
|
||||||
struct acpi_generic_address *rr;
|
struct acpi_generic_address *rr;
|
||||||
struct pci_bus *bus0;
|
struct pci_bus *bus0;
|
||||||
u8 reset_value;
|
|
||||||
unsigned int devfn;
|
unsigned int devfn;
|
||||||
|
u8 reset_value;
|
||||||
|
|
||||||
if (acpi_disabled)
|
if (acpi_disabled)
|
||||||
return;
|
return;
|
||||||
|
@ -40,7 +40,7 @@ void acpi_reboot(void)
|
||||||
/* Form PCI device/function pair. */
|
/* Form PCI device/function pair. */
|
||||||
devfn = PCI_DEVFN((rr->address >> 32) & 0xffff,
|
devfn = PCI_DEVFN((rr->address >> 32) & 0xffff,
|
||||||
(rr->address >> 16) & 0xffff);
|
(rr->address >> 16) & 0xffff);
|
||||||
printk(KERN_DEBUG "Resetting with ACPI PCI RESET_REG.");
|
printk(KERN_DEBUG "Resetting with ACPI PCI RESET_REG.\n");
|
||||||
/* Write the value that resets us. */
|
/* Write the value that resets us. */
|
||||||
pci_bus_write_config_byte(bus0, devfn,
|
pci_bus_write_config_byte(bus0, devfn,
|
||||||
(rr->address & 0xffff), reset_value);
|
(rr->address & 0xffff), reset_value);
|
||||||
|
|
Loading…
Reference in a new issue