diff options
author | Michal Marek <mmarek@suse.cz> | 2010-10-12 09:09:06 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-10-12 09:09:06 -0400 |
commit | 239060b93bb30a4ad55f1ecaa512464a035cc5ba (patch) | |
tree | 77f79810e57d4fc24356eca0cd6db463e8994128 /arch/frv | |
parent | 1408b15b98635a13bad2e2a50b3c2ae2ccdf625b (diff) | |
parent | e9203c988234aa512bd45ca32b52e21c7bbfc414 (diff) |
Merge branch 'kbuild/rc-fixes' into kbuild/kconfig
We need to revert the temporary hack in 71ebc01, hence the merge.
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/Kconfig | 4 | ||||
-rw-r--r-- | arch/frv/Makefile | 22 | ||||
-rw-r--r-- | arch/frv/defconfig | 600 | ||||
-rw-r--r-- | arch/frv/include/asm/Kbuild | 3 | ||||
-rw-r--r-- | arch/frv/include/asm/dma-mapping.h | 8 | ||||
-rw-r--r-- | arch/frv/include/asm/highmem.h | 2 | ||||
-rw-r--r-- | arch/frv/include/asm/ioctls.h | 2 | ||||
-rw-r--r-- | arch/frv/include/asm/local64.h | 1 | ||||
-rw-r--r-- | arch/frv/include/asm/mem-layout.h | 2 | ||||
-rw-r--r-- | arch/frv/include/asm/scatterlist.h | 2 | ||||
-rw-r--r-- | arch/frv/include/asm/termbits.h | 1 | ||||
-rw-r--r-- | arch/frv/kernel/local64.h | 1 | ||||
-rw-r--r-- | arch/frv/kernel/process.c | 3 |
13 files changed, 18 insertions, 633 deletions
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig index 06256796200a..a57951f6c348 100644 --- a/arch/frv/Kconfig +++ b/arch/frv/Kconfig | |||
@@ -36,10 +36,6 @@ config GENERIC_HARDIRQS_NO__DO_IRQ | |||
36 | bool | 36 | bool |
37 | default y | 37 | default y |
38 | 38 | ||
39 | config GENERIC_TIME | ||
40 | bool | ||
41 | default y | ||
42 | |||
43 | config TIME_LOW_RES | 39 | config TIME_LOW_RES |
44 | bool | 40 | bool |
45 | default y | 41 | default y |
diff --git a/arch/frv/Makefile b/arch/frv/Makefile index 310c47a663f8..7ff84575b186 100644 --- a/arch/frv/Makefile +++ b/arch/frv/Makefile | |||
@@ -23,20 +23,14 @@ | |||
23 | # Copyright (C) 1994 by Hamish Macdonald | 23 | # Copyright (C) 1994 by Hamish Macdonald |
24 | # | 24 | # |
25 | 25 | ||
26 | CCSPECS := $(shell $(CC) -v 2>&1 | grep "^Reading specs from " | head -1 | cut -c20-) | ||
27 | CCDIR := $(strip $(patsubst %/specs,%,$(CCSPECS))) | ||
28 | CPUCLASS := fr400 | ||
29 | |||
30 | # test for cross compiling | ||
31 | COMPILE_ARCH = $(shell uname -m) | ||
32 | |||
33 | ifdef CONFIG_MMU | 26 | ifdef CONFIG_MMU |
34 | UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\" | 27 | UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\" |
35 | else | 28 | else |
36 | UTS_SYSNAME = -DUTS_SYSNAME=\"uClinux\" | 29 | UTS_SYSNAME = -DUTS_SYSNAME=\"uClinux\" |
37 | endif | 30 | endif |
38 | 31 | ||
39 | ARCHMODFLAGS += -G0 -mlong-calls | 32 | KBUILD_AFLAGS_MODULE += -G0 -mlong-calls |
33 | KBUILD_CFLAGS_MODULE += -G0 -mlong-calls | ||
40 | 34 | ||
41 | ifdef CONFIG_GPREL_DATA_8 | 35 | ifdef CONFIG_GPREL_DATA_8 |
42 | KBUILD_CFLAGS += -G8 | 36 | KBUILD_CFLAGS += -G8 |
@@ -54,7 +48,6 @@ endif | |||
54 | 48 | ||
55 | ifdef CONFIG_GC_SECTIONS | 49 | ifdef CONFIG_GC_SECTIONS |
56 | KBUILD_CFLAGS += -ffunction-sections -fdata-sections | 50 | KBUILD_CFLAGS += -ffunction-sections -fdata-sections |
57 | LINKFLAGS += --gc-sections | ||
58 | endif | 51 | endif |
59 | 52 | ||
60 | ifndef CONFIG_FRAME_POINTER | 53 | ifndef CONFIG_FRAME_POINTER |
@@ -64,16 +57,13 @@ endif | |||
64 | ifdef CONFIG_CPU_FR451_COMPILE | 57 | ifdef CONFIG_CPU_FR451_COMPILE |
65 | KBUILD_CFLAGS += -mcpu=fr450 | 58 | KBUILD_CFLAGS += -mcpu=fr450 |
66 | KBUILD_AFLAGS += -mcpu=fr450 | 59 | KBUILD_AFLAGS += -mcpu=fr450 |
67 | ASFLAGS += -mcpu=fr450 | ||
68 | else | 60 | else |
69 | ifdef CONFIG_CPU_FR551_COMPILE | 61 | ifdef CONFIG_CPU_FR551_COMPILE |
70 | KBUILD_CFLAGS += -mcpu=fr550 | 62 | KBUILD_CFLAGS += -mcpu=fr550 |
71 | KBUILD_AFLAGS += -mcpu=fr550 | 63 | KBUILD_AFLAGS += -mcpu=fr550 |
72 | ASFLAGS += -mcpu=fr550 | ||
73 | else | 64 | else |
74 | KBUILD_CFLAGS += -mcpu=fr400 | 65 | KBUILD_CFLAGS += -mcpu=fr400 |
75 | KBUILD_AFLAGS += -mcpu=fr400 | 66 | KBUILD_AFLAGS += -mcpu=fr400 |
76 | ASFLAGS += -mcpu=fr400 | ||
77 | endif | 67 | endif |
78 | endif | 68 | endif |
79 | 69 | ||
@@ -83,14 +73,12 @@ endif | |||
83 | KBUILD_CFLAGS += -mno-fdpic -mgpr-32 -msoft-float -mno-media | 73 | KBUILD_CFLAGS += -mno-fdpic -mgpr-32 -msoft-float -mno-media |
84 | KBUILD_CFLAGS += -ffixed-fcc3 -ffixed-cc3 -ffixed-gr15 -ffixed-icc2 | 74 | KBUILD_CFLAGS += -ffixed-fcc3 -ffixed-cc3 -ffixed-gr15 -ffixed-icc2 |
85 | KBUILD_AFLAGS += -mno-fdpic | 75 | KBUILD_AFLAGS += -mno-fdpic |
86 | ASFLAGS += -mno-fdpic | ||
87 | 76 | ||
88 | # make sure the .S files get compiled with debug info | 77 | # make sure the .S files get compiled with debug info |
89 | # and disable optimisations that are unhelpful whilst debugging | 78 | # and disable optimisations that are unhelpful whilst debugging |
90 | ifdef CONFIG_DEBUG_INFO | 79 | ifdef CONFIG_DEBUG_INFO |
91 | #KBUILD_CFLAGS += -O1 | 80 | #KBUILD_CFLAGS += -O1 |
92 | KBUILD_AFLAGS += -Wa,--gdwarf2 | 81 | KBUILD_AFLAGS += -Wa,--gdwarf2 |
93 | ASFLAGS += -Wa,--gdwarf2 | ||
94 | endif | 82 | endif |
95 | 83 | ||
96 | head-y := arch/frv/kernel/head.o arch/frv/kernel/init_task.o | 84 | head-y := arch/frv/kernel/head.o arch/frv/kernel/init_task.o |
@@ -105,11 +93,5 @@ all: Image | |||
105 | Image: vmlinux | 93 | Image: vmlinux |
106 | $(Q)$(MAKE) $(build)=arch/frv/boot $@ | 94 | $(Q)$(MAKE) $(build)=arch/frv/boot $@ |
107 | 95 | ||
108 | bootstrap: | ||
109 | $(Q)$(MAKEBOOT) bootstrap | ||
110 | |||
111 | archclean: | 96 | archclean: |
112 | $(Q)$(MAKE) $(clean)=arch/frv/boot | 97 | $(Q)$(MAKE) $(clean)=arch/frv/boot |
113 | |||
114 | archdep: scripts/mkdep symlinks | ||
115 | $(Q)$(MAKE) $(build)=arch/frv/boot dep | ||
diff --git a/arch/frv/defconfig b/arch/frv/defconfig index b6e4ca5efb59..b8ebe9e8a493 100644 --- a/arch/frv/defconfig +++ b/arch/frv/defconfig | |||
@@ -1,627 +1,39 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.11.8 | ||
4 | # Fri May 13 17:16:03 2005 | ||
5 | # | ||
6 | CONFIG_FRV=y | ||
7 | CONFIG_UID16=y | ||
8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
9 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
10 | # CONFIG_GENERIC_CALIBRATE_DELAY is not set | ||
11 | # CONFIG_GENERIC_HARDIRQS is not set | ||
12 | |||
13 | # | ||
14 | # Code maturity level options | ||
15 | # | ||
16 | CONFIG_EXPERIMENTAL=y | 1 | CONFIG_EXPERIMENTAL=y |
17 | CONFIG_CLEAN_COMPILE=y | ||
18 | CONFIG_BROKEN_ON_SMP=y | ||
19 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
20 | |||
21 | # | ||
22 | # General setup | ||
23 | # | ||
24 | CONFIG_LOCALVERSION="" | ||
25 | CONFIG_SWAP=y | ||
26 | CONFIG_SYSVIPC=y | 2 | CONFIG_SYSVIPC=y |
27 | CONFIG_POSIX_MQUEUE=y | 3 | CONFIG_POSIX_MQUEUE=y |
28 | # CONFIG_BSD_PROCESS_ACCT is not set | 4 | CONFIG_LOG_BUF_SHIFT=14 |
29 | CONFIG_SYSCTL=y | ||
30 | # CONFIG_AUDIT is not set | ||
31 | # CONFIG_HOTPLUG is not set | ||
32 | # CONFIG_KOBJECT_UEVENT is not set | ||
33 | # CONFIG_IKCONFIG is not set | ||
34 | CONFIG_EMBEDDED=y | ||
35 | CONFIG_KALLSYMS=y | ||
36 | # CONFIG_KALLSYMS_ALL is not set | ||
37 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
38 | CONFIG_PRINTK=y | ||
39 | CONFIG_BUG=y | ||
40 | CONFIG_BASE_FULL=y | ||
41 | CONFIG_FUTEX=y | ||
42 | CONFIG_EPOLL=y | ||
43 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 5 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
44 | CONFIG_SHMEM=y | 6 | CONFIG_EMBEDDED=y |
45 | CONFIG_CC_ALIGN_FUNCTIONS=0 | 7 | # CONFIG_HOTPLUG is not set |
46 | CONFIG_CC_ALIGN_LABELS=0 | ||
47 | CONFIG_CC_ALIGN_LOOPS=0 | ||
48 | CONFIG_CC_ALIGN_JUMPS=0 | ||
49 | # CONFIG_TINY_SHMEM is not set | ||
50 | CONFIG_BASE_SMALL=0 | ||
51 | |||
52 | # | ||
53 | # Loadable module support | ||
54 | # | ||
55 | # CONFIG_MODULES is not set | ||
56 | |||
57 | # | ||
58 | # Fujitsu FR-V system setup | ||
59 | # | ||
60 | CONFIG_MMU=y | 8 | CONFIG_MMU=y |
61 | CONFIG_FRV_OUTOFLINE_ATOMIC_OPS=y | 9 | CONFIG_FRV_OUTOFLINE_ATOMIC_OPS=y |
62 | CONFIG_HIGHMEM=y | ||
63 | CONFIG_HIGHPTE=y | ||
64 | CONFIG_SELECT_MEMORY_MODEL=y | ||
65 | CONFIG_FLATMEM_MANUAL=y | ||
66 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
67 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
68 | CONFIG_FLATMEM=y | ||
69 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
70 | # CONFIG_FRV_DEFL_CACHE_WBACK is not set | ||
71 | # CONFIG_FRV_DEFL_CACHE_WBEHIND is not set | ||
72 | CONFIG_FRV_DEFL_CACHE_WTHRU=y | 10 | CONFIG_FRV_DEFL_CACHE_WTHRU=y |
73 | # CONFIG_FRV_DEFL_CACHE_DISABLED is not set | ||
74 | |||
75 | # | ||
76 | # CPU core support | ||
77 | # | ||
78 | CONFIG_CPU_FR451=y | ||
79 | CONFIG_CPU_FR451_COMPILE=y | ||
80 | CONFIG_FRV_L1_CACHE_SHIFT=5 | ||
81 | CONFIG_MB93091_VDK=y | ||
82 | # CONFIG_MB93093_PDK is not set | ||
83 | CONFIG_MB93090_MB00=y | ||
84 | # CONFIG_MB93091_NO_MB is not set | ||
85 | # CONFIG_GPREL_DATA_8 is not set | ||
86 | CONFIG_GPREL_DATA_4=y | 11 | CONFIG_GPREL_DATA_4=y |
87 | # CONFIG_GPREL_DATA_NONE is not set | ||
88 | CONFIG_PCI=y | ||
89 | # CONFIG_PCI_LEGACY_PROC is not set | ||
90 | # CONFIG_PCI_NAMES is not set | ||
91 | # CONFIG_PCI_DEBUG is not set | ||
92 | # CONFIG_PCMCIA is not set | ||
93 | |||
94 | # | ||
95 | # Power management options | ||
96 | # | ||
97 | # CONFIG_PM is not set | ||
98 | |||
99 | # | ||
100 | # Executable formats | ||
101 | # | ||
102 | # CONFIG_BINFMT_ELF is not set | ||
103 | CONFIG_BINFMT_ELF_FDPIC=y | ||
104 | # CONFIG_BINFMT_MISC is not set | ||
105 | |||
106 | # | ||
107 | # Device Drivers | ||
108 | # | ||
109 | |||
110 | # | ||
111 | # Generic Driver Options | ||
112 | # | ||
113 | # CONFIG_STANDALONE is not set | ||
114 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | ||
115 | # CONFIG_FW_LOADER is not set | ||
116 | # CONFIG_DEBUG_DRIVER is not set | ||
117 | |||
118 | # | ||
119 | # Connector - unified userspace <-> kernelspace linker | ||
120 | # | ||
121 | # CONFIG_CONNECTOR is not set | ||
122 | # CONFIG_FORK_CONNECTOR is not set | ||
123 | |||
124 | # | ||
125 | # Memory Technology Devices (MTD) | ||
126 | # | ||
127 | # CONFIG_MTD is not set | ||
128 | |||
129 | # | ||
130 | # Parallel port support | ||
131 | # | ||
132 | # CONFIG_PARPORT is not set | ||
133 | |||
134 | # | ||
135 | # Plug and Play support | ||
136 | # | ||
137 | |||
138 | # | ||
139 | # Block devices | ||
140 | # | ||
141 | # CONFIG_BLK_DEV_FD is not set | ||
142 | # CONFIG_BLK_CPQ_DA is not set | ||
143 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
144 | # CONFIG_BLK_DEV_DAC960 is not set | ||
145 | # CONFIG_BLK_DEV_UMEM is not set | ||
146 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
147 | # CONFIG_BLK_DEV_LOOP is not set | ||
148 | # CONFIG_BLK_DEV_NBD is not set | ||
149 | # CONFIG_BLK_DEV_SX8 is not set | ||
150 | # CONFIG_BLK_DEV_RAM is not set | ||
151 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
152 | CONFIG_INITRAMFS_SOURCE="" | ||
153 | # CONFIG_CDROM_PKTCDVD is not set | ||
154 | |||
155 | # | ||
156 | # IO Schedulers | ||
157 | # | ||
158 | CONFIG_IOSCHED_NOOP=y | ||
159 | CONFIG_IOSCHED_AS=y | ||
160 | CONFIG_IOSCHED_DEADLINE=y | ||
161 | CONFIG_IOSCHED_CFQ=y | ||
162 | # CONFIG_ATA_OVER_ETH is not set | ||
163 | |||
164 | # | ||
165 | # ATA/ATAPI/MFM/RLL support | ||
166 | # | ||
167 | # CONFIG_IDE is not set | ||
168 | |||
169 | # | ||
170 | # SCSI device support | ||
171 | # | ||
172 | # CONFIG_SCSI is not set | ||
173 | |||
174 | # | ||
175 | # Multi-device support (RAID and LVM) | ||
176 | # | ||
177 | # CONFIG_MD is not set | ||
178 | |||
179 | # | ||
180 | # Fusion MPT device support | ||
181 | # | ||
182 | # CONFIG_FUSION is not set | ||
183 | |||
184 | # | ||
185 | # IEEE 1394 (FireWire) support | ||
186 | # | ||
187 | # CONFIG_IEEE1394 is not set | ||
188 | |||
189 | # | ||
190 | # I2O device support | ||
191 | # | ||
192 | # CONFIG_I2O is not set | ||
193 | |||
194 | # | ||
195 | # Networking support | ||
196 | # | ||
197 | CONFIG_NET=y | 12 | CONFIG_NET=y |
198 | |||
199 | # | ||
200 | # Networking options | ||
201 | # | ||
202 | CONFIG_PACKET=y | 13 | CONFIG_PACKET=y |
203 | # CONFIG_PACKET_MMAP is not set | ||
204 | CONFIG_UNIX=y | 14 | CONFIG_UNIX=y |
205 | # CONFIG_NET_KEY is not set | ||
206 | CONFIG_INET=y | 15 | CONFIG_INET=y |
207 | # CONFIG_IP_MULTICAST is not set | ||
208 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
209 | CONFIG_IP_PNP=y | 16 | CONFIG_IP_PNP=y |
210 | # CONFIG_IP_PNP_DHCP is not set | ||
211 | # CONFIG_IP_PNP_BOOTP is not set | ||
212 | # CONFIG_IP_PNP_RARP is not set | ||
213 | # CONFIG_NET_IPIP is not set | ||
214 | # CONFIG_NET_IPGRE is not set | ||
215 | # CONFIG_ARPD is not set | ||
216 | # CONFIG_SYN_COOKIES is not set | ||
217 | # CONFIG_INET_AH is not set | ||
218 | # CONFIG_INET_ESP is not set | ||
219 | # CONFIG_INET_IPCOMP is not set | ||
220 | # CONFIG_INET_TUNNEL is not set | ||
221 | # CONFIG_IP_TCPDIAG is not set | ||
222 | # CONFIG_IP_TCPDIAG_IPV6 is not set | ||
223 | # CONFIG_IPV6 is not set | 17 | # CONFIG_IPV6 is not set |
224 | # CONFIG_NETFILTER is not set | 18 | # CONFIG_STANDALONE is not set |
225 | 19 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | |
226 | # | ||
227 | # SCTP Configuration (EXPERIMENTAL) | ||
228 | # | ||
229 | # CONFIG_IP_SCTP is not set | ||
230 | # CONFIG_ATM is not set | ||
231 | # CONFIG_BRIDGE is not set | ||
232 | # CONFIG_VLAN_8021Q is not set | ||
233 | # CONFIG_DECNET is not set | ||
234 | # CONFIG_LLC2 is not set | ||
235 | # CONFIG_IPX is not set | ||
236 | # CONFIG_ATALK is not set | ||
237 | # CONFIG_X25 is not set | ||
238 | # CONFIG_LAPB is not set | ||
239 | # CONFIG_NET_DIVERT is not set | ||
240 | # CONFIG_ECONET is not set | ||
241 | # CONFIG_WAN_ROUTER is not set | ||
242 | |||
243 | # | ||
244 | # QoS and/or fair queueing | ||
245 | # | ||
246 | # CONFIG_NET_SCHED is not set | ||
247 | # CONFIG_NET_CLS_ROUTE is not set | ||
248 | |||
249 | # | ||
250 | # Network testing | ||
251 | # | ||
252 | # CONFIG_NET_PKTGEN is not set | ||
253 | # CONFIG_KGDBOE is not set | ||
254 | # CONFIG_NETPOLL is not set | ||
255 | # CONFIG_NETPOLL_RX is not set | ||
256 | # CONFIG_NETPOLL_TRAP is not set | ||
257 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
258 | # CONFIG_HAMRADIO is not set | ||
259 | # CONFIG_IRDA is not set | ||
260 | # CONFIG_BT is not set | ||
261 | # CONFIG_IEEE80211 is not set | ||
262 | CONFIG_NETDEVICES=y | 20 | CONFIG_NETDEVICES=y |
263 | # CONFIG_DUMMY is not set | ||
264 | # CONFIG_BONDING is not set | ||
265 | # CONFIG_EQUALIZER is not set | ||
266 | # CONFIG_TUN is not set | ||
267 | |||
268 | # | ||
269 | # ARCnet devices | ||
270 | # | ||
271 | # CONFIG_ARCNET is not set | ||
272 | |||
273 | # | ||
274 | # Ethernet (10 or 100Mbit) | ||
275 | # | ||
276 | CONFIG_NET_ETHERNET=y | 21 | CONFIG_NET_ETHERNET=y |
277 | CONFIG_MII=y | 22 | CONFIG_MII=y |
278 | # CONFIG_HAPPYMEAL is not set | ||
279 | # CONFIG_SUNGEM is not set | ||
280 | # CONFIG_NET_VENDOR_3COM is not set | ||
281 | |||
282 | # | ||
283 | # Tulip family network device support | ||
284 | # | ||
285 | # CONFIG_NET_TULIP is not set | ||
286 | # CONFIG_HP100 is not set | ||
287 | CONFIG_NET_PCI=y | 23 | CONFIG_NET_PCI=y |
288 | # CONFIG_PCNET32 is not set | ||
289 | # CONFIG_AMD8111_ETH is not set | ||
290 | # CONFIG_ADAPTEC_STARFIRE is not set | ||
291 | # CONFIG_B44 is not set | ||
292 | # CONFIG_FORCEDETH is not set | ||
293 | # CONFIG_DGRS is not set | ||
294 | # CONFIG_EEPRO100 is not set | ||
295 | # CONFIG_E100 is not set | ||
296 | # CONFIG_FEALNX is not set | ||
297 | # CONFIG_NATSEMI is not set | ||
298 | CONFIG_NE2K_PCI=y | 24 | CONFIG_NE2K_PCI=y |
299 | # CONFIG_8139CP is not set | ||
300 | # CONFIG_8139TOO is not set | ||
301 | # CONFIG_SIS900 is not set | ||
302 | # CONFIG_EPIC100 is not set | ||
303 | # CONFIG_SUNDANCE is not set | ||
304 | # CONFIG_TLAN is not set | ||
305 | # CONFIG_VIA_RHINE is not set | ||
306 | |||
307 | # | ||
308 | # Ethernet (1000 Mbit) | ||
309 | # | ||
310 | # CONFIG_ACENIC is not set | ||
311 | # CONFIG_DL2K is not set | ||
312 | # CONFIG_E1000 is not set | ||
313 | # CONFIG_NS83820 is not set | ||
314 | # CONFIG_HAMACHI is not set | ||
315 | # CONFIG_YELLOWFIN is not set | ||
316 | # CONFIG_R8169 is not set | ||
317 | # CONFIG_SKGE is not set | ||
318 | # CONFIG_SK98LIN is not set | ||
319 | # CONFIG_VIA_VELOCITY is not set | ||
320 | # CONFIG_TIGON3 is not set | ||
321 | |||
322 | # | ||
323 | # Ethernet (10000 Mbit) | ||
324 | # | ||
325 | # CONFIG_CHELSIO_T1 is not set | ||
326 | # CONFIG_IXGB is not set | ||
327 | # CONFIG_S2IO is not set | ||
328 | |||
329 | # | ||
330 | # Token Ring devices | ||
331 | # | ||
332 | # CONFIG_TR is not set | ||
333 | |||
334 | # | ||
335 | # Wireless LAN (non-hamradio) | ||
336 | # | ||
337 | # CONFIG_NET_RADIO is not set | ||
338 | |||
339 | # | ||
340 | # Wan interfaces | ||
341 | # | ||
342 | # CONFIG_WAN is not set | ||
343 | # CONFIG_FDDI is not set | ||
344 | # CONFIG_HIPPI is not set | ||
345 | # CONFIG_PPP is not set | ||
346 | # CONFIG_SLIP is not set | ||
347 | # CONFIG_SHAPER is not set | ||
348 | # CONFIG_NETCONSOLE is not set | ||
349 | |||
350 | # | ||
351 | # ISDN subsystem | ||
352 | # | ||
353 | # CONFIG_ISDN is not set | ||
354 | |||
355 | # | ||
356 | # Telephony Support | ||
357 | # | ||
358 | # CONFIG_PHONE is not set | ||
359 | |||
360 | # | ||
361 | # Input device support | ||
362 | # | ||
363 | # CONFIG_INPUT is not set | 25 | # CONFIG_INPUT is not set |
364 | |||
365 | # | ||
366 | # Hardware I/O ports | ||
367 | # | ||
368 | # CONFIG_SERIO is not set | 26 | # CONFIG_SERIO is not set |
369 | # CONFIG_GAMEPORT is not set | ||
370 | |||
371 | # | ||
372 | # Character devices | ||
373 | # | ||
374 | # CONFIG_VT is not set | 27 | # CONFIG_VT is not set |
375 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
376 | |||
377 | # | ||
378 | # Serial drivers | ||
379 | # | ||
380 | CONFIG_SERIAL_8250=y | ||
381 | CONFIG_SERIAL_8250_CONSOLE=y | 28 | CONFIG_SERIAL_8250_CONSOLE=y |
382 | CONFIG_SERIAL_8250_NR_UARTS=1 | 29 | CONFIG_SERIAL_8250_NR_UARTS=1 |
30 | CONFIG_SERIAL_8250_RUNTIME_UARTS=1 | ||
383 | CONFIG_SERIAL_8250_EXTENDED=y | 31 | CONFIG_SERIAL_8250_EXTENDED=y |
384 | # CONFIG_SERIAL_8250_MANY_PORTS is not set | ||
385 | CONFIG_SERIAL_8250_SHARE_IRQ=y | 32 | CONFIG_SERIAL_8250_SHARE_IRQ=y |
386 | # CONFIG_SERIAL_8250_DETECT_IRQ is not set | ||
387 | # CONFIG_SERIAL_8250_MULTIPORT is not set | ||
388 | # CONFIG_SERIAL_8250_RSA is not set | ||
389 | |||
390 | # | ||
391 | # Non-8250 serial port support | ||
392 | # | ||
393 | CONFIG_SERIAL_CORE=y | ||
394 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
395 | # CONFIG_SERIAL_JSM is not set | ||
396 | CONFIG_UNIX98_PTYS=y | ||
397 | # CONFIG_LEGACY_PTYS is not set | 33 | # CONFIG_LEGACY_PTYS is not set |
398 | |||
399 | # | ||
400 | # IPMI | ||
401 | # | ||
402 | # CONFIG_IPMI_HANDLER is not set | ||
403 | |||
404 | # | ||
405 | # Watchdog Cards | ||
406 | # | ||
407 | # CONFIG_WATCHDOG is not set | ||
408 | # CONFIG_RTC is not set | ||
409 | # CONFIG_GEN_RTC is not set | ||
410 | # CONFIG_DTLK is not set | ||
411 | # CONFIG_R3964 is not set | ||
412 | # CONFIG_APPLICOM is not set | ||
413 | |||
414 | # | ||
415 | # Ftape, the floppy tape device driver | ||
416 | # | ||
417 | # CONFIG_DRM is not set | ||
418 | # CONFIG_RAW_DRIVER is not set | ||
419 | |||
420 | # | ||
421 | # TPM devices | ||
422 | # | ||
423 | # CONFIG_TCG_TPM is not set | ||
424 | |||
425 | # | ||
426 | # I2C support | ||
427 | # | ||
428 | # CONFIG_I2C is not set | ||
429 | |||
430 | # | ||
431 | # Dallas's 1-wire bus | ||
432 | # | ||
433 | # CONFIG_W1 is not set | ||
434 | |||
435 | # | ||
436 | # Misc devices | ||
437 | # | ||
438 | |||
439 | # | ||
440 | # Multimedia devices | ||
441 | # | ||
442 | # CONFIG_VIDEO_DEV is not set | ||
443 | |||
444 | # | ||
445 | # Digital Video Broadcasting Devices | ||
446 | # | ||
447 | # CONFIG_DVB is not set | ||
448 | |||
449 | # | ||
450 | # Graphics support | ||
451 | # | ||
452 | # CONFIG_FB is not set | ||
453 | |||
454 | # | ||
455 | # Sound | ||
456 | # | ||
457 | # CONFIG_SOUND is not set | ||
458 | |||
459 | # | ||
460 | # USB support | ||
461 | # | ||
462 | CONFIG_USB_ARCH_HAS_HCD=y | ||
463 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
464 | # CONFIG_USB is not set | ||
465 | |||
466 | # | ||
467 | # USB Gadget Support | ||
468 | # | ||
469 | # CONFIG_USB_GADGET is not set | ||
470 | |||
471 | # | ||
472 | # MMC/SD Card support | ||
473 | # | ||
474 | # CONFIG_MMC is not set | ||
475 | |||
476 | # | ||
477 | # InfiniBand support | ||
478 | # | ||
479 | # CONFIG_INFINIBAND is not set | ||
480 | |||
481 | # | ||
482 | # File systems | ||
483 | # | ||
484 | # CONFIG_EXT2_FS is not set | ||
485 | # CONFIG_EXT3_FS is not set | ||
486 | # CONFIG_JBD is not set | ||
487 | # CONFIG_REISER4_FS is not set | ||
488 | # CONFIG_REISERFS_FS is not set | ||
489 | # CONFIG_JFS_FS is not set | ||
490 | |||
491 | # | ||
492 | # XFS support | ||
493 | # | ||
494 | # CONFIG_XFS_FS is not set | ||
495 | # CONFIG_MINIX_FS is not set | ||
496 | # CONFIG_ROMFS_FS is not set | ||
497 | CONFIG_INOTIFY=y | ||
498 | # CONFIG_QUOTA is not set | ||
499 | CONFIG_DNOTIFY=y | ||
500 | # CONFIG_AUTOFS_FS is not set | ||
501 | # CONFIG_AUTOFS4_FS is not set | ||
502 | |||
503 | # | ||
504 | # Caches | ||
505 | # | ||
506 | # CONFIG_FSCACHE is not set | ||
507 | # CONFIG_FUSE_FS is not set | ||
508 | |||
509 | # | ||
510 | # CD-ROM/DVD Filesystems | ||
511 | # | ||
512 | # CONFIG_ISO9660_FS is not set | ||
513 | # CONFIG_UDF_FS is not set | ||
514 | |||
515 | # | ||
516 | # DOS/FAT/NT Filesystems | ||
517 | # | ||
518 | # CONFIG_MSDOS_FS is not set | ||
519 | # CONFIG_VFAT_FS is not set | ||
520 | # CONFIG_NTFS_FS is not set | ||
521 | |||
522 | # | ||
523 | # Pseudo filesystems | ||
524 | # | ||
525 | CONFIG_PROC_FS=y | ||
526 | # CONFIG_PROC_KCORE is not set | ||
527 | CONFIG_SYSFS=y | ||
528 | # CONFIG_DEVFS_FS is not set | ||
529 | # CONFIG_DEVPTS_FS_XATTR is not set | ||
530 | CONFIG_TMPFS=y | 34 | CONFIG_TMPFS=y |
531 | # CONFIG_TMPFS_XATTR is not set | ||
532 | # CONFIG_HUGETLB_PAGE is not set | ||
533 | CONFIG_RAMFS=y | ||
534 | # CONFIG_RELAYFS_FS is not set | ||
535 | |||
536 | # | ||
537 | # Miscellaneous filesystems | ||
538 | # | ||
539 | # CONFIG_ADFS_FS is not set | ||
540 | # CONFIG_AFFS_FS is not set | ||
541 | # CONFIG_HFS_FS is not set | ||
542 | # CONFIG_HFSPLUS_FS is not set | ||
543 | # CONFIG_BEFS_FS is not set | ||
544 | # CONFIG_BFS_FS is not set | ||
545 | # CONFIG_EFS_FS is not set | ||
546 | # CONFIG_CRAMFS is not set | ||
547 | # CONFIG_VXFS_FS is not set | ||
548 | # CONFIG_HPFS_FS is not set | ||
549 | # CONFIG_QNX4FS_FS is not set | ||
550 | # CONFIG_SYSV_FS is not set | ||
551 | # CONFIG_UFS_FS is not set | ||
552 | |||
553 | # | ||
554 | # Network File Systems | ||
555 | # | ||
556 | CONFIG_NFS_FS=y | 35 | CONFIG_NFS_FS=y |
557 | # CONFIG_NFS_V3 is not set | ||
558 | # CONFIG_NFS_V4 is not set | ||
559 | # CONFIG_NFS_DIRECTIO is not set | ||
560 | # CONFIG_NFSD is not set | ||
561 | CONFIG_ROOT_NFS=y | 36 | CONFIG_ROOT_NFS=y |
562 | CONFIG_LOCKD=y | ||
563 | CONFIG_NFS_COMMON=y | ||
564 | CONFIG_SUNRPC=y | ||
565 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
566 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
567 | # CONFIG_SMB_FS is not set | ||
568 | # CONFIG_CIFS is not set | ||
569 | # CONFIG_NCP_FS is not set | ||
570 | # CONFIG_CODA_FS is not set | ||
571 | # CONFIG_AFS_FS is not set | ||
572 | |||
573 | # | ||
574 | # Partition Types | ||
575 | # | ||
576 | # CONFIG_PARTITION_ADVANCED is not set | ||
577 | CONFIG_MSDOS_PARTITION=y | ||
578 | |||
579 | # | ||
580 | # Native Language Support | ||
581 | # | ||
582 | # CONFIG_NLS is not set | ||
583 | |||
584 | # | ||
585 | # Kernel hacking | ||
586 | # | ||
587 | # CONFIG_PRINTK_TIME is not set | ||
588 | CONFIG_DEBUG_KERNEL=y | 37 | CONFIG_DEBUG_KERNEL=y |
589 | # CONFIG_MAGIC_SYSRQ is not set | ||
590 | CONFIG_LOG_BUF_SHIFT=14 | ||
591 | CONFIG_DETECT_SOFTLOCKUP=y | ||
592 | # CONFIG_SCHEDSTATS is not set | ||
593 | # CONFIG_DEBUG_SLAB is not set | ||
594 | # CONFIG_DEBUG_SPINLOCK is not set | ||
595 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
596 | # CONFIG_DEBUG_KOBJECT is not set | ||
597 | # CONFIG_DEBUG_HIGHMEM is not set | ||
598 | # CONFIG_DEBUG_BUGVERBOSE is not set | 38 | # CONFIG_DEBUG_BUGVERBOSE is not set |
599 | # CONFIG_DEBUG_INFO is not set | ||
600 | # CONFIG_DEBUG_FS is not set | ||
601 | # CONFIG_FRAME_POINTER is not set | ||
602 | # CONFIG_EARLY_PRINTK is not set | ||
603 | CONFIG_DEBUG_STACKOVERFLOW=y | 39 | CONFIG_DEBUG_STACKOVERFLOW=y |
604 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
605 | # CONFIG_GDBSTUB is not set | ||
606 | |||
607 | # | ||
608 | # Security options | ||
609 | # | ||
610 | # CONFIG_KEYS is not set | ||
611 | # CONFIG_SECURITY is not set | ||
612 | |||
613 | # | ||
614 | # Cryptographic options | ||
615 | # | ||
616 | # CONFIG_CRYPTO is not set | ||
617 | |||
618 | # | ||
619 | # Hardware crypto devices | ||
620 | # | ||
621 | |||
622 | # | ||
623 | # Library routines | ||
624 | # | ||
625 | # CONFIG_CRC_CCITT is not set | ||
626 | CONFIG_CRC32=y | ||
627 | # CONFIG_LIBCRC32C is not set | ||
diff --git a/arch/frv/include/asm/Kbuild b/arch/frv/include/asm/Kbuild index 0f8956def738..5be6663cfee5 100644 --- a/arch/frv/include/asm/Kbuild +++ b/arch/frv/include/asm/Kbuild | |||
@@ -1,5 +1,4 @@ | |||
1 | include include/asm-generic/Kbuild.asm | 1 | include include/asm-generic/Kbuild.asm |
2 | 2 | ||
3 | header-y += registers.h | 3 | header-y += registers.h |
4 | 4 | header-y += termios.h | |
5 | unifdef-y += termios.h | ||
diff --git a/arch/frv/include/asm/dma-mapping.h b/arch/frv/include/asm/dma-mapping.h index 6af5d83e2fb2..dfb811002c64 100644 --- a/arch/frv/include/asm/dma-mapping.h +++ b/arch/frv/include/asm/dma-mapping.h | |||
@@ -126,14 +126,6 @@ int dma_set_mask(struct device *dev, u64 mask) | |||
126 | } | 126 | } |
127 | 127 | ||
128 | static inline | 128 | static inline |
129 | int dma_get_cache_alignment(void) | ||
130 | { | ||
131 | return 1 << L1_CACHE_SHIFT; | ||
132 | } | ||
133 | |||
134 | #define dma_is_consistent(d, h) (1) | ||
135 | |||
136 | static inline | ||
137 | void dma_cache_sync(struct device *dev, void *vaddr, size_t size, | 129 | void dma_cache_sync(struct device *dev, void *vaddr, size_t size, |
138 | enum dma_data_direction direction) | 130 | enum dma_data_direction direction) |
139 | { | 131 | { |
diff --git a/arch/frv/include/asm/highmem.h b/arch/frv/include/asm/highmem.h index 68e4677fb9e7..cb4c317eaecc 100644 --- a/arch/frv/include/asm/highmem.h +++ b/arch/frv/include/asm/highmem.h | |||
@@ -152,7 +152,7 @@ do { \ | |||
152 | asm volatile("tlbpr %0,gr0,#4,#1" : : "r"(vaddr) : "memory"); \ | 152 | asm volatile("tlbpr %0,gr0,#4,#1" : : "r"(vaddr) : "memory"); \ |
153 | } while(0) | 153 | } while(0) |
154 | 154 | ||
155 | static inline void kunmap_atomic(void *kvaddr, enum km_type type) | 155 | static inline void kunmap_atomic_notypecheck(void *kvaddr, enum km_type type) |
156 | { | 156 | { |
157 | switch (type) { | 157 | switch (type) { |
158 | case 0: __kunmap_atomic_primary(0, 2); break; | 158 | case 0: __kunmap_atomic_primary(0, 2); break; |
diff --git a/arch/frv/include/asm/ioctls.h b/arch/frv/include/asm/ioctls.h index d0c30e31fbda..a993e3759ccf 100644 --- a/arch/frv/include/asm/ioctls.h +++ b/arch/frv/include/asm/ioctls.h | |||
@@ -53,6 +53,7 @@ | |||
53 | #define TCSETSF2 _IOW('T',0x2D, struct termios2) | 53 | #define TCSETSF2 _IOW('T',0x2D, struct termios2) |
54 | #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ | 54 | #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ |
55 | #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ | 55 | #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ |
56 | #define TIOCSIG _IOW('T',0x36, int) /* Generate signal on Pty slave */ | ||
56 | 57 | ||
57 | #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */ | 58 | #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */ |
58 | #define FIOCLEX 0x5451 | 59 | #define FIOCLEX 0x5451 |
@@ -79,6 +80,7 @@ | |||
79 | #define TIOCPKT_START 8 | 80 | #define TIOCPKT_START 8 |
80 | #define TIOCPKT_NOSTOP 16 | 81 | #define TIOCPKT_NOSTOP 16 |
81 | #define TIOCPKT_DOSTOP 32 | 82 | #define TIOCPKT_DOSTOP 32 |
83 | #define TIOCPKT_IOCTL 64 | ||
82 | 84 | ||
83 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ | 85 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ |
84 | 86 | ||
diff --git a/arch/frv/include/asm/local64.h b/arch/frv/include/asm/local64.h new file mode 100644 index 000000000000..36c93b5cc239 --- /dev/null +++ b/arch/frv/include/asm/local64.h | |||
@@ -0,0 +1 @@ | |||
#include <asm-generic/local64.h> | |||
diff --git a/arch/frv/include/asm/mem-layout.h b/arch/frv/include/asm/mem-layout.h index ccae981876fa..e9a0ec85a402 100644 --- a/arch/frv/include/asm/mem-layout.h +++ b/arch/frv/include/asm/mem-layout.h | |||
@@ -35,7 +35,7 @@ | |||
35 | * the slab must be aligned such that load- and store-double instructions don't | 35 | * the slab must be aligned such that load- and store-double instructions don't |
36 | * fault if used | 36 | * fault if used |
37 | */ | 37 | */ |
38 | #define ARCH_KMALLOC_MINALIGN L1_CACHE_BYTES | 38 | #define ARCH_DMA_MINALIGN L1_CACHE_BYTES |
39 | #define ARCH_SLAB_MINALIGN L1_CACHE_BYTES | 39 | #define ARCH_SLAB_MINALIGN L1_CACHE_BYTES |
40 | 40 | ||
41 | /*****************************************************************************/ | 41 | /*****************************************************************************/ |
diff --git a/arch/frv/include/asm/scatterlist.h b/arch/frv/include/asm/scatterlist.h index 1614bfd7e3a4..0e5eb3018468 100644 --- a/arch/frv/include/asm/scatterlist.h +++ b/arch/frv/include/asm/scatterlist.h | |||
@@ -3,6 +3,4 @@ | |||
3 | 3 | ||
4 | #include <asm-generic/scatterlist.h> | 4 | #include <asm-generic/scatterlist.h> |
5 | 5 | ||
6 | #define ISA_DMA_THRESHOLD (0xffffffffUL) | ||
7 | |||
8 | #endif /* !_ASM_SCATTERLIST_H */ | 6 | #endif /* !_ASM_SCATTERLIST_H */ |
diff --git a/arch/frv/include/asm/termbits.h b/arch/frv/include/asm/termbits.h index 5568492b5086..7722e19cc349 100644 --- a/arch/frv/include/asm/termbits.h +++ b/arch/frv/include/asm/termbits.h | |||
@@ -180,6 +180,7 @@ struct ktermios { | |||
180 | #define FLUSHO 0010000 | 180 | #define FLUSHO 0010000 |
181 | #define PENDIN 0040000 | 181 | #define PENDIN 0040000 |
182 | #define IEXTEN 0100000 | 182 | #define IEXTEN 0100000 |
183 | #define EXTPROC 0200000 | ||
183 | 184 | ||
184 | 185 | ||
185 | /* tcflow() and TCXONC use these */ | 186 | /* tcflow() and TCXONC use these */ |
diff --git a/arch/frv/kernel/local64.h b/arch/frv/kernel/local64.h new file mode 100644 index 000000000000..36c93b5cc239 --- /dev/null +++ b/arch/frv/kernel/local64.h | |||
@@ -0,0 +1 @@ | |||
#include <asm-generic/local64.h> | |||
diff --git a/arch/frv/kernel/process.c b/arch/frv/kernel/process.c index 21d0fd19276d..428931cf2f0c 100644 --- a/arch/frv/kernel/process.c +++ b/arch/frv/kernel/process.c | |||
@@ -250,7 +250,8 @@ int copy_thread(unsigned long clone_flags, | |||
250 | /* | 250 | /* |
251 | * sys_execve() executes a new program. | 251 | * sys_execve() executes a new program. |
252 | */ | 252 | */ |
253 | asmlinkage int sys_execve(char __user *name, char __user * __user *argv, char __user * __user *envp) | 253 | asmlinkage int sys_execve(const char __user *name, char __user * __user *argv, |
254 | char __user * __user *envp) | ||
254 | { | 255 | { |
255 | int error; | 256 | int error; |
256 | char * filename; | 257 | char * filename; |