tag | line | file | source code |
thislist | 39 | arch/sparc/prom/memory.c | prom_sortmemlist(struct linux_mlist_v0 *thislist) |
thislist | 46 | arch/sparc/prom/memory.c | for(i=0; thislist[i].theres_more != 0; i++) { |
thislist | 47 | arch/sparc/prom/memory.c | lowest = thislist[i].start_adr; |
thislist | 48 | arch/sparc/prom/memory.c | for(mitr = i+1; thislist[mitr-1].theres_more != 0; mitr++) |
thislist | 49 | arch/sparc/prom/memory.c | if(thislist[mitr].start_adr < lowest) { |
thislist | 50 | arch/sparc/prom/memory.c | lowest = thislist[mitr].start_adr; |
thislist | 53 | arch/sparc/prom/memory.c | if(lowest == thislist[i].start_adr) continue; |
thislist | 54 | arch/sparc/prom/memory.c | tmpaddr = thislist[swapi].start_adr; |
thislist | 55 | arch/sparc/prom/memory.c | tmpsize = thislist[swapi].num_bytes; |
thislist | 57 | arch/sparc/prom/memory.c | thislist[mitr].start_adr = thislist[mitr-1].start_adr; |
thislist | 58 | arch/sparc/prom/memory.c | thislist[mitr].num_bytes = thislist[mitr-1].num_bytes; |
thislist | 60 | arch/sparc/prom/memory.c | thislist[i].start_adr = tmpaddr; |
thislist | 61 | arch/sparc/prom/memory.c | thislist[i].num_bytes = tmpsize; |