Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30455
b: refs/heads/master
c: 3c58464
h: refs/heads/master
i:
  30453: d28e7b6
  30451: 9f27469
  30447: 585a595
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Jun 26, 2006
1 parent ead7c53 commit 360c6a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c90bb87730613709e65c03c86d614e31a675d4f
refs/heads/master: 3c5846470c30580bbcb4d5f2339f75a2c88cfe6e
6 changes: 2 additions & 4 deletions trunk/arch/x86_64/boot/tools/build.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,8 @@ int main(int argc, char ** argv)
sz = sb.st_size;
fprintf (stderr, "System is %d kB\n", sz/1024);
sys_size = (sz + 15) / 16;
/* 0x40000*16 = 4.0 MB, reasonable estimate for the current maximum */
if (sys_size > (is_big_kernel ? 0x40000 : DEF_SYSSIZE))
die("System is too big. Try using %smodules.",
is_big_kernel ? "" : "bzImage or ");
if (!is_big_kernel && sys_size > DEF_SYSSIZE)
die("System is too big. Try using bzImage or modules.");
while (sz > 0) {
int l, n;

Expand Down

0 comments on commit 360c6a5

Please sign in to comment.