summaryrefslogtreecommitdiffstats
path: root/arch/frv/include/asm/segment.h
diff options
context:
space:
mode:
authorLinus Torvalds2016-10-12 08:38:39 +0200
committerLinus Torvalds2016-10-12 08:38:39 +0200
commit4cdf8dbe2d4b3891a9abd9f9ec32acbe58de0cf6 (patch)
tree006204597d8aab019a8831da3f38556ca9dcaab1 /arch/frv/include/asm/segment.h
parentMerge tag 'drm-for-v4.9' of git://people.freedesktop.org/~airlied/linux (diff)
parentremove a stray reference to asm/uaccess.h in docs (diff)
downloadkernel-qcow2-linux-4cdf8dbe2d4b3891a9abd9f9ec32acbe58de0cf6.tar.gz
kernel-qcow2-linux-4cdf8dbe2d4b3891a9abd9f9ec32acbe58de0cf6.tar.xz
kernel-qcow2-linux-4cdf8dbe2d4b3891a9abd9f9ec32acbe58de0cf6.zip
Merge branch 'work.uaccess2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull uaccess.h prepwork from Al Viro: "Preparations to tree-wide switch to use of linux/uaccess.h (which, obviously, will allow to start unifying stuff for real). The last step there, ie PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>' sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \ `git grep -l "$PATT"|grep -v ^include/linux/uaccess.h` is not taken here - I would prefer to do it once just before or just after -rc1. However, everything should be ready for it" * 'work.uaccess2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: remove a stray reference to asm/uaccess.h in docs sparc64: separate extable_64.h, switch elf_64.h to it score: separate extable.h, switch module.h to it mips: separate extable.h, switch module.h to it x86: separate extable.h, switch sections.h to it remove stray include of asm/uaccess.h from cacheflush.h mn10300: remove a bogus processor.h->uaccess.h include xtensa: split uaccess.h into C and asm sides bonding: quit messing with IOCTL kill __kernel_ds_p off mn10300: finish verify_area() off frv: move HAVE_ARCH_UNMAPPED_AREA to pgtable.h exceptions: detritus removal
Diffstat (limited to 'arch/frv/include/asm/segment.h')
-rw-r--r--arch/frv/include/asm/segment.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/frv/include/asm/segment.h b/arch/frv/include/asm/segment.h
index 4377c89a57f5..2305142d4cf8 100644
--- a/arch/frv/include/asm/segment.h
+++ b/arch/frv/include/asm/segment.h
@@ -32,7 +32,6 @@ typedef struct {
#define get_ds() (KERNEL_DS)
#define get_fs() (__current_thread_info->addr_limit)
#define segment_eq(a, b) ((a).seg == (b).seg)
-#define __kernel_ds_p() segment_eq(get_fs(), KERNEL_DS)
#define get_addr_limit() (get_fs().seg)
#define set_fs(_x) \