• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: コミット

2.4.36-stable kernel tree


コミットメタ情報

リビジョン0f2e7344acb7af49279f5ea245d8befccf77fe42 (tree)
日時2006-08-21 05:53:14
作者Mikael Pettersson <mikpe@it.u...>
コミッターWilly Tarreau

ログメッセージ

[GCC4] SPARC64: fix UP build error in arch/sparc64/mm/init.c

This patch fixes an invalid-lvalue error when compiling a
2.4.34-pre1 kernel on sparc64 with gcc-4.1.1. The kernel
must be configured with CONFIG_SMP=n for the error to trigger.
(I didn't save the error message, sorry.)

A kernel compiled with gcc-4.1.1 boots fine on my Ultra5
and can rebuild itself, and generally seems no less solid
than the 2.4.33 I compiled with gcc-3.4.6.

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>

変更サマリ

差分

--- a/arch/sparc64/mm/init.c
+++ b/arch/sparc64/mm/init.c
@@ -95,7 +95,7 @@ int do_check_pgt_cache(int low, int high)
9595 if (page2)
9696 page2->next_hash = page->next_hash;
9797 else
98- (struct page *)pgd_quicklist = page->next_hash;
98+ pgd_quicklist = (unsigned long *)page->next_hash;
9999 page->next_hash = NULL;
100100 page->pprev_hash = NULL;
101101 pgd_cache_size -= 2;
旧リポジトリブラウザで表示