RE: [PATCH] - Fix get_model_name() for mixed cpu type systems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "Jack Steiner" <steiner@xxxxxxx>
- Subject: RE: [PATCH] - Fix get_model_name() for mixed cpu type systems
- From: "Luck, Tony" <tony.luck@xxxxxxxxx>
- Date: Wed, 18 Oct 2006 17:03:30 -0700
- Cc: <linux-ia64@xxxxxxxxxxxxxxx>
- Thread-index: Acby/BkjxSh8o/smQFah3g2qy/SAigAFCLLQ
- Thread-topic: [PATCH] - Fix get_model_name() for mixed cpu type systems
+ for (i = 0; i < MAX_BRANDS; i++)
+ if (brandname[i][0] == '\0')
+ return strcpy(brandname[i], brand);
+ BUG();
BUG seems a bit drastic ... the brandname is just an informational
thing that shows in /proc/cpuinfo (and seems hard to parse ... so
unlikely to be used much.
-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]