diff --git a/.gitignore b/.gitignore
index de6344e15706280de410cd83372f997720d0947a..efab0ebec85993afd1ee2a3a507722b7d0e223a2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,6 +36,7 @@ modules.builtin
 #
 tags
 TAGS
+linux
 vmlinux
 vmlinuz
 System.map
diff --git a/arch/um/.gitignore b/arch/um/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..a73d3a1cc746137462a84804818f38adf9efd75a
--- /dev/null
+++ b/arch/um/.gitignore
@@ -0,0 +1,3 @@
+kernel/config.c
+kernel/config.tmp
+kernel/vmlinux.lds