Changeset View
Changeset View
Standalone View
Standalone View
stand/kboot/arch/powerpc64/load_addr.c
| Show First 20 Lines • Show All 202 Lines • ▼ Show 20 Lines | if (ret == 0) { | ||||
| else if (strcmp(utsname.machine, "ppc64le") == 0) | else if (strcmp(utsname.machine, "ppc64le") == 0) | ||||
| bits = 64; | bits = 64; | ||||
| } | } | ||||
| } | } | ||||
| return (bits); | return (bits); | ||||
| } | } | ||||
| #endif | #endif | ||||
| /* Need to transition from current hacky FDT way to this code */ | |||||
| bool enumerate_memory_arch(void) | |||||
| { | |||||
| /* | |||||
| * For now, we dig it out of the FDT, plus we need to pass all data into | |||||
| * the kernel via the (adjusted) FDT we find. | |||||
| */ | |||||
| setenv("usefdt", "1", 1); | |||||
| return true; | |||||
tsoome: Values in return statements should be enclosed in parentheses. (style). | |||||
| } | |||||
Values in return statements should be enclosed in parentheses. (style).