lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53312C53.3000801@gmail.com>
Date:	Tue, 25 Mar 2014 15:12:19 +0800
From:	Chen Gang <gang.chen.5i5j@...il.com>
To:	管雪涛 <gxt@....edu.cn>
CC:	gxt@...c.pku.edu.cn, linux-kernel@...r.kernel.org
Subject: Re: 回复: [PATCH] arch/unicore32/include/asm/ptrace.h: add generic definition for profile_pc()

On 03/25/2014 02:53 PM, 管雪涛 wrote:
> Thanks
> 
> Acked-by: Xuetao Guan <gxt@...c.pku.edu.cn>
> 

Thank you too.

> ----- Chen Gang <gang.chen.5i5j@...il.com> 写道:
>> Add generic definition just like another architectures have done, or
>> can not pass compiling with allmodconfig, the related error:
>>
>>     CC      kernel/profile.o
>>   kernel/profile.c: In function ‘profile_tick’:
>>   kernel/profile.c:419: error: implicit declaration of function ‘profile_pc’
>>   make[1]: *** [kernel/profile.o] Error 1
>>   make: *** [kernel] Error 2
>>
>>
>> Signed-off-by: Chen Gang <gang.chen.5i5j@...il.com>
>> ---
>>  arch/unicore32/include/asm/ptrace.h |    1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/unicore32/include/asm/ptrace.h b/arch/unicore32/include/asm/ptrace.h
>> index 9df53d9..02bf5a4 100644
>> --- a/arch/unicore32/include/asm/ptrace.h
>> +++ b/arch/unicore32/include/asm/ptrace.h
>> @@ -55,6 +55,7 @@ static inline int valid_user_regs(struct pt_regs *regs)
>>  
>>  #define instruction_pointer(regs)	((regs)->UCreg_pc)
>>  #define user_stack_pointer(regs)	((regs)->UCreg_sp)
>> +#define profile_pc(regs)		instruction_pointer(regs)
>>  
>>  #endif /* __ASSEMBLY__ */
>>  #endif
>> -- 
>> 1.7.9.5
> 

-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ