Commit:     5adeef52ccc0229e06a6e0b2fefe442d8779f025
Parent:     9dd2c31ab89a12571db89648bcc9992cf71b63d8
Author:     Scott Wood <[EMAIL PROTECTED]>
AuthorDate: Mon Mar 12 14:41:51 2007 -0600
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Tue Mar 13 21:15:58 2007 +1100

    [POWERPC] bootwrapper: Use map_string() instead of lookup_string() in 
    When adding a property, the property name should be added to the string
    table if it doesn't already exist.  map_string() does that;
    lookup_string() will fail instead.
    Signed-off-by: Scott Wood <[EMAIL PROTECTED]>
    Acked-by: David Gibson <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 arch/powerpc/boot/flatdevtree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/boot/flatdevtree.c b/arch/powerpc/boot/flatdevtree.c
index f2a29ca..e319a65 100644
--- a/arch/powerpc/boot/flatdevtree.c
+++ b/arch/powerpc/boot/flatdevtree.c
@@ -429,7 +429,7 @@ int ft_prop(struct ft_cxt *cxt, const char *name, const 
void *data,
        int off, len;
-       off = lookup_string(cxt, name);
+       off = map_string(cxt, name);
        if (off == NO_STRING)
                return -1;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to