~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/microblaze/include/asm/cpuinfo.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
 
97
97
static inline unsigned int fcpu(struct device_node *cpu, char *n)
98
98
{
99
 
        int *val;
100
 
        return (val = (int *) of_get_property(cpu, n, NULL)) ?
 
99
        const __be32 *val;
 
100
        return (val = of_get_property(cpu, n, NULL)) ?
101
101
                                                        be32_to_cpup(val) : 0;
102
102
}
103
103