diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-01 00:31:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-01 00:31:40 -0500 |
commit | a8b59e79ed55de97949ff1ca7d933786b95b39bd (patch) | |
tree | bdb9bfca39e01954d8416e2a49f59d040d1b1777 /arch/ia64/kernel/palinfo.c | |
parent | 547a77ae62091449e23b64a75b9c69e373613608 (diff) | |
parent | 2ab9391dea6e36fed13443c29bf97d3be05f5289 (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] Avoid "u64 foo : 32;" for gcc3 vs. gcc4 compatibility
[IA64] Export cpu cache info by sysfs
Diffstat (limited to 'arch/ia64/kernel/palinfo.c')
-rw-r--r-- | arch/ia64/kernel/palinfo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/ia64/kernel/palinfo.c b/arch/ia64/kernel/palinfo.c index 89faa603c6be..6386f63c413e 100644 --- a/arch/ia64/kernel/palinfo.c +++ b/arch/ia64/kernel/palinfo.c | |||
@@ -240,7 +240,7 @@ cache_info(char *page) | |||
240 | } | 240 | } |
241 | p += sprintf(p, | 241 | p += sprintf(p, |
242 | "%s Cache level %lu:\n" | 242 | "%s Cache level %lu:\n" |
243 | "\tSize : %lu bytes\n" | 243 | "\tSize : %u bytes\n" |
244 | "\tAttributes : ", | 244 | "\tAttributes : ", |
245 | cache_types[j+cci.pcci_unified], i+1, | 245 | cache_types[j+cci.pcci_unified], i+1, |
246 | cci.pcci_cache_size); | 246 | cci.pcci_cache_size); |
@@ -648,9 +648,9 @@ frequency_info(char *page) | |||
648 | if (ia64_pal_freq_ratios(&proc, &bus, &itc) != 0) return 0; | 648 | if (ia64_pal_freq_ratios(&proc, &bus, &itc) != 0) return 0; |
649 | 649 | ||
650 | p += sprintf(p, | 650 | p += sprintf(p, |
651 | "Processor/Clock ratio : %ld/%ld\n" | 651 | "Processor/Clock ratio : %d/%d\n" |
652 | "Bus/Clock ratio : %ld/%ld\n" | 652 | "Bus/Clock ratio : %d/%d\n" |
653 | "ITC/Clock ratio : %ld/%ld\n", | 653 | "ITC/Clock ratio : %d/%d\n", |
654 | proc.num, proc.den, bus.num, bus.den, itc.num, itc.den); | 654 | proc.num, proc.den, bus.num, bus.den, itc.num, itc.den); |
655 | 655 | ||
656 | return p - page; | 656 | return p - page; |