asm-generic headers: uaccess.h to conditionally define segment_eq()
authorVineet Gupta <vgupta@synopsys.com>
Fri, 18 Jan 2013 09:42:16 +0000 (15:12 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 11 Feb 2013 14:30:31 +0000 (20:00 +0530)
commit10a6007bda48e3524e24ce1ad46dc7be1add6a0e
tree28974ffa38e7acfea4ee4009a41c6a43d4166174
parent14e968bad788de922a755a84b92cb29f8c1342e4
asm-generic headers: uaccess.h to conditionally define segment_eq()

This is because mm_segment_t is exported by arch code, while seqment_eq
assumes it will have .seg element.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
include/asm-generic/uaccess.h