* [PATCH] arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h"
@ 2013-09-22 3:22 Chen Gang
2013-09-23 8:07 ` Vineet Gupta
0 siblings, 1 reply; 6+ messages in thread
From: Chen Gang @ 2013-09-22 3:22 UTC (permalink / raw)
To: vgupta@synopsys.com; +Cc: Arnd Bergmann, linux-kernel@vger.kernel.org
Need include the default implementation, just like another platforms
(e.g. parisc, tile ...), or can not pass compiling.
The related error (with allmodconfig for arc):
CC [M] fs/btrfs/ioctl.o
fs/btrfs/ioctl.c: In function ‘btrfs_ioctl_file_extent_same’:
fs/btrfs/ioctl.c:2802: error: implicit declaration of function ‘__put_user_unaligned’
Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
arch/arc/include/asm/uaccess.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arc/include/asm/uaccess.h b/arch/arc/include/asm/uaccess.h
index 3242082..8a2721f 100644
--- a/arch/arc/include/asm/uaccess.h
+++ b/arch/arc/include/asm/uaccess.h
@@ -27,6 +27,7 @@
#include <linux/sched.h>
#include <asm/errno.h>
#include <linux/string.h> /* for generic string functions */
+#include <asm-generic/uaccess-unaligned.h>
#define __kernel_ok (segment_eq(get_fs(), KERNEL_DS))
--
1.7.7.6
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH] arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h"
2013-09-22 3:22 [PATCH] arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h" Chen Gang
@ 2013-09-23 8:07 ` Vineet Gupta
2013-09-23 8:27 ` Chen Gang
0 siblings, 1 reply; 6+ messages in thread
From: Vineet Gupta @ 2013-09-23 8:07 UTC (permalink / raw)
To: Chen Gang
Cc: vgupta@synopsys.com, Arnd Bergmann, linux-kernel@vger.kernel.org
On 09/22/2013 08:53 AM, Chen Gang wrote:
> Need include the default implementation, just like another platforms
> (e.g. parisc, tile ...), or can not pass compiling.
>
> The related error (with allmodconfig for arc):
>
> CC [M] fs/btrfs/ioctl.o
> fs/btrfs/ioctl.c: In function ‘btrfs_ioctl_file_extent_same’:
> fs/btrfs/ioctl.c:2802: error: implicit declaration of function ‘__put_user_unaligned’
>
>
> Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
Thx,
-Vineet
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h"
2013-09-23 8:07 ` Vineet Gupta
@ 2013-09-23 8:27 ` Chen Gang
2013-10-23 8:55 ` Chen Gang
0 siblings, 1 reply; 6+ messages in thread
From: Chen Gang @ 2013-09-23 8:27 UTC (permalink / raw)
To: Vineet Gupta; +Cc: Arnd Bergmann, linux-kernel@vger.kernel.org
On 09/23/2013 04:07 PM, Vineet Gupta wrote:
> On 09/22/2013 08:53 AM, Chen Gang wrote:
>> Need include the default implementation, just like another platforms
>> (e.g. parisc, tile ...), or can not pass compiling.
>>
>> The related error (with allmodconfig for arc):
>>
>> CC [M] fs/btrfs/ioctl.o
>> fs/btrfs/ioctl.c: In function �btrfs_ioctl_file_extent_same�:
>> fs/btrfs/ioctl.c:2802: error: implicit declaration of function �__put_user_unaligned�
>>
>>
>> Signed-off-by: Chen Gang <gang.chen@asianux.com>
>
> Acked-by: Vineet Gupta <vgupta@synopsys.com>
>
Thank you too.
> Thx,
> -Vineet
>
>
--
Chen Gang
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h"
2013-09-23 8:27 ` Chen Gang
@ 2013-10-23 8:55 ` Chen Gang
2013-11-01 7:47 ` Vineet Gupta
0 siblings, 1 reply; 6+ messages in thread
From: Chen Gang @ 2013-10-23 8:55 UTC (permalink / raw)
To: Vineet Gupta; +Cc: Arnd Bergmann, linux-kernel@vger.kernel.org
Hello Maintainers:
Is this patch OK, please help check when you have time.
Thanks.
On 09/23/2013 04:27 PM, Chen Gang wrote:
> On 09/23/2013 04:07 PM, Vineet Gupta wrote:
>> On 09/22/2013 08:53 AM, Chen Gang wrote:
>>> Need include the default implementation, just like another platforms
>>> (e.g. parisc, tile ...), or can not pass compiling.
>>>
>>> The related error (with allmodconfig for arc):
>>>
>>> CC [M] fs/btrfs/ioctl.o
>>> fs/btrfs/ioctl.c: In function �btrfs_ioctl_file_extent_same�:
>>> fs/btrfs/ioctl.c:2802: error: implicit declaration of function �__put_user_unaligned�
>>>
>>>
>>> Signed-off-by: Chen Gang <gang.chen@asianux.com>
>>
>> Acked-by: Vineet Gupta <vgupta@synopsys.com>
>>
>
> Thank you too.
>
>> Thx,
>> -Vineet
>>
>>
>
>
--
Chen Gang
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h"
2013-10-23 8:55 ` Chen Gang
@ 2013-11-01 7:47 ` Vineet Gupta
2013-11-01 7:57 ` Chen Gang
0 siblings, 1 reply; 6+ messages in thread
From: Vineet Gupta @ 2013-11-01 7:47 UTC (permalink / raw)
To: Chen Gang; +Cc: linux-kernel@vger.kernel.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1184 bytes --]
On 10/23/2013 02:26 PM, Chen Gang wrote:
> Hello Maintainers:
>
> Is this patch OK, please help check when you have time.
Mainline commit cbf8b8ca3ec "btrfs: change extent-same to copy entire argument
struct" removed the usage of __put_user_unaligned hence this patch is no longer
needed.
Thx,
-Vineet
>
> Thanks.
>
> On 09/23/2013 04:27 PM, Chen Gang wrote:
>> On 09/23/2013 04:07 PM, Vineet Gupta wrote:
>>> On 09/22/2013 08:53 AM, Chen Gang wrote:
>>>> Need include the default implementation, just like another platforms
>>>> (e.g. parisc, tile ...), or can not pass compiling.
>>>>
>>>> The related error (with allmodconfig for arc):
>>>>
>>>> CC [M] fs/btrfs/ioctl.o
>>>> fs/btrfs/ioctl.c: In function �btrfs_ioctl_file_extent_same�:
>>>> fs/btrfs/ioctl.c:2802: error: implicit declaration of function �__put_user_unaligned�
>>>>
>>>>
>>>> Signed-off-by: Chen Gang <gang.chen@asianux.com>
>>> Acked-by: Vineet Gupta <vgupta@synopsys.com>
>>>
>> Thank you too.
>>
>>> Thx,
>>> -Vineet
>>>
>>>
>>
>
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h"
2013-11-01 7:47 ` Vineet Gupta
@ 2013-11-01 7:57 ` Chen Gang
0 siblings, 0 replies; 6+ messages in thread
From: Chen Gang @ 2013-11-01 7:57 UTC (permalink / raw)
To: Vineet Gupta; +Cc: linux-kernel@vger.kernel.org
On 11/01/2013 03:47 PM, Vineet Gupta wrote:
> On 10/23/2013 02:26 PM, Chen Gang wrote:
>> Hello Maintainers:
>>
>> Is this patch OK, please help check when you have time.
>
> Mainline commit cbf8b8ca3ec "btrfs: change extent-same to copy entire argument
> struct" removed the usage of __put_user_unaligned hence this patch is no longer
> needed.
>
Thank you for your careful checking!!
> Thx,
> -Vineet
>
>>
>> Thanks.
>>
>> On 09/23/2013 04:27 PM, Chen Gang wrote:
>>> On 09/23/2013 04:07 PM, Vineet Gupta wrote:
>>>> On 09/22/2013 08:53 AM, Chen Gang wrote:
>>>>> Need include the default implementation, just like another platforms
>>>>> (e.g. parisc, tile ...), or can not pass compiling.
>>>>>
>>>>> The related error (with allmodconfig for arc):
>>>>>
>>>>> CC [M] fs/btrfs/ioctl.o
>>>>> fs/btrfs/ioctl.c: In function �btrfs_ioctl_file_extent_same�:
>>>>> fs/btrfs/ioctl.c:2802: error: implicit declaration of function �__put_user_unaligned�
>>>>>
>>>>>
>>>>> Signed-off-by: Chen Gang <gang.chen@asianux.com>
>>>> Acked-by: Vineet Gupta <vgupta@synopsys.com>
>>>>
>>> Thank you too.
>>>
>>>> Thx,
>>>> -Vineet
>>>>
>>>>
>>>
>>
>
--
Chen Gang
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-11-01 7:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-22 3:22 [PATCH] arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h" Chen Gang
2013-09-23 8:07 ` Vineet Gupta
2013-09-23 8:27 ` Chen Gang
2013-10-23 8:55 ` Chen Gang
2013-11-01 7:47 ` Vineet Gupta
2013-11-01 7:57 ` Chen Gang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox