Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 62cd66f in mainline


Ignore:
Timestamp:
2008-06-14T16:09:17Z (14 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial
Children:
3759681
Parents:
36e86862
Message:

Fix build when smc_coherence_block() is defined as an empty macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/backend_elf.c

    r36e86862 r62cd66f  
    153153                        memcpy((void *) PA2KA(frame),
    154154                            (void *) (base + i * FRAME_SIZE), FRAME_SIZE);
    155                         if (entry->p_flags & PF_X)
     155                        if (entry->p_flags & PF_X) {
    156156                                smc_coherence_block(PA2KA(frame), FRAME_SIZE);
     157                        }
    157158                        dirty = true;
    158159                } else {
     
    192193                    (void *) (base + i * FRAME_SIZE + pad_lo),
    193194                    FRAME_SIZE - pad_lo - pad_hi);
    194                 if (entry->p_flags & PF_X)
     195                if (entry->p_flags & PF_X) {
    195196                        smc_coherence_block(PA2KA(frame) + pad_lo, FRAME_SIZE -
    196197                            pad_lo - pad_hi);
     198                }
    197199                memsetb((void *) PA2KA(frame), pad_lo, 0);
    198200                memsetb((void *) (PA2KA(frame) + FRAME_SIZE - pad_hi), pad_hi,
Note: See TracChangeset for help on using the changeset viewer.