aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorChris Ball <[email protected]>2009-02-13 20:56:18 -0500
committerIngo Molnar <[email protected]>2009-02-14 23:05:25 +0100
commite49590b6dd356f8ef10ba3531a29e5086f6f2e3a (patch)
tree7b24662f1bcad6cfd9fbcef98d59f6f10a9712ba /lib/string_helpers.c
parentb13e24644c138d0ddbc451403c30a96b09bfd556 (diff)
x86, olpc: fix model detection without OFW
Impact: fix "garbled display, laptop is unusable" bug Commit e51a1ac2dfca9ad869471e88f828281db7e810c0 ("x86, olpc: fix endian bug in openfirmware workaround") breaks model comparison on OLPC; the value 0xc2 needs to be scaled up by olpc_board(). The pre-patch version was wrong, but accidentally worked anyway (big-endian 0xc2 is big enough to satisfy all other board revisions, but little endian 0xc2 is not). Signed-off-by: Chris Ball <[email protected]> Cc: Andrew Morton <[email protected]> Acked-by: Andres Salomon <[email protected]> Cc: Harvey Harrison <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions