aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_64.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-03 08:26:41 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-12 13:55:19 -0400
commite2eb63927bfcb54232163bfec32440246fd44457 (patch)
tree596656edeb2332b5134d8236fa50b87f2c0ece29 /arch/powerpc/kernel/setup_64.c
parentceef87782a9452eeeca774e65d7f4e06455780a3 (diff)
[POWERPC] Rename get_property to of_get_property: arch/powerpc
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r--arch/powerpc/kernel/setup_64.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 3c0c7f435844..22083ce3cc30 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -109,7 +109,7 @@ static void check_smt_enabled(void)
109 dn = of_find_node_by_path("/options"); 109 dn = of_find_node_by_path("/options");
110 110
111 if (dn) { 111 if (dn) {
112 smt_option = get_property(dn, "ibm,smt-enabled", NULL); 112 smt_option = of_get_property(dn, "ibm,smt-enabled", NULL);
113 113
114 if (smt_option) { 114 if (smt_option) {
115 if (!strcmp(smt_option, "on")) 115 if (!strcmp(smt_option, "on"))
@@ -304,10 +304,10 @@ static void __init initialize_cache_info(void)
304 304
305 size = 0; 305 size = 0;
306 lsize = cur_cpu_spec->dcache_bsize; 306 lsize = cur_cpu_spec->dcache_bsize;
307 sizep = get_property(np, "d-cache-size", NULL); 307 sizep = of_get_property(np, "d-cache-size", NULL);
308 if (sizep != NULL) 308 if (sizep != NULL)
309 size = *sizep; 309 size = *sizep;
310 lsizep = get_property(np, dc, NULL); 310 lsizep = of_get_property(np, dc, NULL);
311 if (lsizep != NULL) 311 if (lsizep != NULL)
312 lsize = *lsizep; 312 lsize = *lsizep;
313 if (sizep == 0 || lsizep == 0) 313 if (sizep == 0 || lsizep == 0)
@@ -321,10 +321,10 @@ static void __init initialize_cache_info(void)
321 321
322 size = 0; 322 size = 0;
323 lsize = cur_cpu_spec->icache_bsize; 323 lsize = cur_cpu_spec->icache_bsize;
324 sizep = get_property(np, "i-cache-size", NULL); 324 sizep = of_get_property(np, "i-cache-size", NULL);
325 if (sizep != NULL) 325 if (sizep != NULL)
326 size = *sizep; 326 size = *sizep;
327 lsizep = get_property(np, ic, NULL); 327 lsizep = of_get_property(np, ic, NULL);
328 if (lsizep != NULL) 328 if (lsizep != NULL)
329 lsize = *lsizep; 329 lsize = *lsizep;
330 if (sizep == 0 || lsizep == 0) 330 if (sizep == 0 || lsizep == 0)