alpha: kernel: typo issue, using '1' instead of '11'
authorChen Gang <gang.chen@asianux.com>
Wed, 29 May 2013 11:04:09 +0000 (19:04 +0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 19 Jul 2013 20:54:19 +0000 (13:54 -0700)
commit91b678c8edb7d8abd444705df63b80af31ad13e8
tree09a87ea350407ae6adf607ca5a770afbefbf15de
parent00ee03092a6e4b1d0ddc6b861ebb9ed8d13cc29b
alpha: kernel: typo issue, using '1' instead of '11'

For sending message:

        *(unsigned int *)&cpu->ipc_buffer[0] = len;
        cp1 = (char *) &cpu->ipc_buffer[1];

But for receive message:

                cnt = cpu->ipc_buffer[0] >> 32;
                ...
                       cp1 = (char *) &cpu->ipc_buffer[11];

They are not pairs, it is typo issue of the redundency '1'.

So need use '1' instead of '11'.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Chen Gang <gang.chen@asianux.com>
arch/alpha/kernel/smp.c