Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 103bb68 in mainline


Ignore:
Timestamp:
2009-06-26T15:04:54Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
1cab2f41
Parents:
cc531be
Message:

A little bit of cstyle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/acpi/acpi.c

    rcc531be r103bb68  
    168168
    169169        acpi_rsdt = (struct acpi_rsdt *) (unative_t) acpi_rsdp->rsdt_address;
    170         if (acpi_rsdp->revision) acpi_xsdt = (struct acpi_xsdt *) ((uintptr_t) acpi_rsdp->xsdt_address);
     170        if (acpi_rsdp->revision)
     171                acpi_xsdt = (struct acpi_xsdt *) ((uintptr_t) acpi_rsdp->xsdt_address);
    171172
    172         if (acpi_rsdt) map_sdt((struct acpi_sdt_header *) acpi_rsdt);
    173         if (acpi_xsdt) map_sdt((struct acpi_sdt_header *) acpi_xsdt);   
     173        if (acpi_rsdt)
     174                map_sdt((struct acpi_sdt_header *) acpi_rsdt);
     175        if (acpi_xsdt)
     176                map_sdt((struct acpi_sdt_header *) acpi_xsdt);
    174177
    175178        if (acpi_rsdt && !acpi_sdt_check((uint8_t *) acpi_rsdt)) {
     
    182185        }
    183186
    184         if (acpi_xsdt) configure_via_xsdt();
    185         else if (acpi_rsdt) configure_via_rsdt();
     187        if (acpi_xsdt)
     188                configure_via_xsdt();
     189        else if (acpi_rsdt)
     190                configure_via_rsdt();
    186191
    187192}
Note: See TracChangeset for help on using the changeset viewer.