~ilya-yanok/ubuntu/precise/grub2/fix-for-948716

« back to all changes in this revision

Viewing changes to mmap/mmap.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Millan
  • Date: 2009-07-25 19:00:53 UTC
  • mfrom: (1.6.3 upstream)
  • mto: (17.4.13 sid)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: james.westby@ubuntu.com-20090725190053-uv3lm6ya3zxs77ep
ImportĀ upstreamĀ versionĀ 1.96+20090725

Show diffs side-by-side

added added

removed removed

Lines of Context:
368
368
         iterator++)
369
369
      {
370
370
        grub_dprintf ("badram", "%llx (size %llx) is a badram range\n",
371
 
                      (unsigned long long) cur, (1ULL << tail));
372
 
        grub_mmap_register (cur, (1ULL << tail), GRUB_MACHINE_MEMORY_HOLE);
 
371
                      (long long) cur, (long long) (1ULL << tail) - 1);
 
372
        grub_mmap_register (cur, (1ULL << tail) - 1, GRUB_MACHINE_MEMORY_HOLE);
373
373
      }
374
374
    return 0;
375
375
  }