powerpc: Add some endian annotations to time and xics code

Fix a couple of sparse warnings.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Anton Blanchard 2013-08-07 02:01:34 +10:00 committed by Benjamin Herrenschmidt
parent 43f8812027
commit 6f7aba7bb4
2 changed files with 2 additions and 2 deletions

View File

@ -612,7 +612,7 @@ unsigned long long sched_clock(void)
static int __init get_freq(char *name, int cells, unsigned long *val)
{
struct device_node *cpu;
const unsigned int *fp;
const __be32 *fp;
int found = 0;
/* The cpu node should have timebase and clock frequency properties */

View File

@ -216,7 +216,7 @@ static int __init icp_native_init_one_node(struct device_node *np,
unsigned int *indx)
{
unsigned int ilen;
const u32 *ireg;
const __be32 *ireg;
int i;
int reg_tuple_size;
int num_servers = 0;