From 6a4a90f25dbbbbd00501417d0cee286bf2aff275 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Thu, 8 Dec 2005 19:40:17 -0600 Subject: [PATCH] --- yaml --- r: 14985 b: refs/heads/master c: dabcafd3f363bacd6b89f537af27dc79128e4806 h: refs/heads/master i: 14983: 057316b0ca1d1b1332489a2a8643fee229adcf84 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/kernel/setup_64.c | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index c4579dc3ac6d..74b19f33eb13 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 326743ead7d0c08e0da715832386660ff3823170 +refs/heads/master: dabcafd3f363bacd6b89f537af27dc79128e4806 diff --git a/trunk/arch/powerpc/kernel/setup_64.c b/trunk/arch/powerpc/kernel/setup_64.c index 608fee7c7e20..e3fb78397dc6 100644 --- a/trunk/arch/powerpc/kernel/setup_64.c +++ b/trunk/arch/powerpc/kernel/setup_64.c @@ -102,7 +102,15 @@ int boot_cpuid_phys = 0; dev_t boot_dev; u64 ppc64_pft_size; -struct ppc64_caches ppc64_caches; +/* Pick defaults since we might want to patch instructions + * before we've read this from the device tree. + */ +struct ppc64_caches ppc64_caches = { + .dline_size = 0x80, + .log_dline_size = 7, + .iline_size = 0x80, + .log_iline_size = 7 +}; EXPORT_SYMBOL_GPL(ppc64_caches); /*