~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to kernel/power/snapshot.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
1211
1211
                to_free_highmem = alloc_highmem - save;
1212
1212
        } else {
1213
1213
                to_free_highmem = 0;
1214
 
                to_free_normal -= save - alloc_highmem;
 
1214
                save -= alloc_highmem;
 
1215
                if (to_free_normal > save)
 
1216
                        to_free_normal -= save;
 
1217
                else
 
1218
                        to_free_normal = 0;
1215
1219
        }
1216
1220
 
1217
1221
        memory_bm_position_reset(&copy_bm);