aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorYinghai Lu <[email protected]>2008-02-06 21:39:45 +0000
committerIngo Molnar <[email protected]>2008-02-06 21:39:45 +0000
commit20651af9ac60fd6e31360688ad44861a7d05256a (patch)
treea5081b8ffddf2d2d931c16ae2528fd3679ba9760 /fs/jbd/commit.c
parentx86: delay CPA self-test and repeat it (diff)
downloadkernel-20651af9ac60fd6e31360688ad44861a7d05256a.tar.gz
kernel-20651af9ac60fd6e31360688ad44861a7d05256a.zip
x86: fix mttr trimming
Pavel Emelyanov reported that his networking card did not work and bisected it down to: " The commit 093af8d7f0ba3c6be1485973508584ef081e9f93 x86_32: trim memory by updating e820 broke my e1000 card: on loading driver says that e1000: probe of 0000:04:03.0 failed with error -5 and the interface doesn't appear. " on a 32-bit kernel, base will overflow when try to do PAGE_SHIFT, and highest_addr will always less 4G. So use pfn instead of address to avoid the overflow when more than 4g RAM is installed on a 32-bit kernel. Many thanks to Pavel Emelyanov for reporting and testing it. Bisected-by: Pavel Emelyanov <[email protected]> Signed-off-by: Yinghai Lu <[email protected]> Tested-by: Pavel Emelyanov <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions