> + x86_cpu_def->vendor1 = cpu_to_le32(*(uint32_t *)val); > + x86_cpu_def->vendor2 = cpu_to_le32(*(uint32_t *)(val + > 4)); + x86_cpu_def->vendor3 = cpu_to_le32(*(uint32_t *)(val
Still not good enough. val might not be aligned. Paul
> + x86_cpu_def->vendor1 = cpu_to_le32(*(uint32_t *)val); > + x86_cpu_def->vendor2 = cpu_to_le32(*(uint32_t *)(val + > 4)); + x86_cpu_def->vendor3 = cpu_to_le32(*(uint32_t *)(val
Still not good enough. val might not be aligned. Paul