lkml.org 
[lkml]   [2008]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: split e820 reserved entries record to late v4 - fix


On Fri, 29 Aug 2008, Yinghai Lu wrote:
> >
> > void insert_resource_expand_to_fit(struct resource *root, struct resource *new)
> > {
> > write_lock(&resource_lock);
> > while (new->start && new->parent) {

That should obviously be

while (new->start && !new->parent) {
^^^

oops.

I told you it was untested ;)

Linus


\
 
 \ /
  Last update: 2008-08-29 18:59    [W:0.045 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site