提交 6f7aba7b 编写于 作者: A Anton Blanchard 提交者: Benjamin Herrenschmidt

powerpc: Add some endian annotations to time and xics code

Fix a couple of sparse warnings.
Signed-off-by: NAnton Blanchard <anton@samba.org>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 43f88120
......@@ -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 */
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册