Home
last modified time | relevance | path

Searched refs:machine_id (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/kernel/
Dsetup-common.c84 struct machdep_calls *machine_id; variable
85 EXPORT_SYMBOL(machine_id);
630 for (machine_id = &__machine_desc_start; in probe_machine()
631 machine_id < &__machine_desc_end; in probe_machine()
632 machine_id++) { in probe_machine()
633 DBG(" %s ...\n", machine_id->name); in probe_machine()
634 if (machine_id->compatible && !of_machine_is_compatible(machine_id->compatible)) in probe_machine()
636 memcpy(&ppc_md, machine_id, sizeof(struct machdep_calls)); in probe_machine()
639 DBG(" %s match !\n", machine_id->name); in probe_machine()
643 if (machine_id >= &__machine_desc_end) { in probe_machine()
/arch/powerpc/include/asm/
Dmachdep.h216 extern struct machdep_calls *machine_id;
227 WARN_ON(!machine_id); // complain if used before probe_machine() in __machine_is()
228 return machine_id == md; in __machine_is()