Grant Likely
0763ed2355
of: make of_(un)register_platform_driver common code
...
Some drivers using of_register_platform_driver() wrapper break on sparc
because the wrapper isn't in the header file. This patch moves it from
Microblaze and PowerPC implementations and makes it common code.
Fixes this sparc64 allmodconfig build error (at least):
drivers/leds/leds-gpio.c: In function `gpio_led_init':
drivers/leds/leds-gpio.c:295: error: implicit declaration of function `of_register_platform_driver'
drivers/leds/leds-gpio.c: In function `gpio_led_exit':
drivers/leds/leds-gpio.c:311: error: implicit declaration of function `of_unregister_platform_driver'
Signed-off-by: Grant Likely <grant.likely@secretlab.ca >
Acked-by: David S. Miller <davem@davemloft.net >
Cc: Michal Simek <monstr@monstr.eu >
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org >
Cc: Stephen Rothwell <sfr@canb.auug.org.au >
Cc: Richard Purdie <rpurdie@rpsys.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-05-02 15:36:10 -07:00
Michal Simek
2921e2bd67
microblaze: Add STATE_SAVE_ARG_SPACE for noMMU kernel too
...
For noMMU kernel this change nothing bring but this change
helps with MMU synchronization.
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-23 16:27:33 +02:00
Michal Simek
e1c4bd0897
microblaze: Move start_thread to process.c
...
This change is due to upcomming MMU merge
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-23 16:09:18 +02:00
Michal Simek
df4f3eb7c3
microblaze: Add missing preadv and pwritev syscalls
...
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-23 16:09:17 +02:00
Michal Simek
ce0b755f7d
microblaze: Add missing declaration for die and _exception func
...
This change remove sparse errors.
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-23 16:09:17 +02:00
Michal Simek
2eba318e0d
microblaze: Move task_pt_regs up
...
This change is important for easier merge with Microblaze MMU code.
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-23 16:09:17 +02:00
Michal Simek
ac3efab506
microblaze: Rename kernel_mode to pt_mode in pt_regs
...
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-23 16:09:17 +02:00
Michal Simek
ceb8944b3a
microblaze: Remove uncache shadow condition
...
Uncached shadow feature is not supported in current
kernel code that's why I removed it.
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-23 16:09:16 +02:00
Michal Simek
f2ec24fd42
microblaze: Remove unneded per cpu SYSCALL_SAVE variable
...
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-23 16:09:16 +02:00
Huang Weiyi
00300d6746
microblaze: remove duplicated #include's
...
Remove duplicated #include's in
arch/microblaze/include/asm/io.h
arch/microblaze/kernel/prom.c
arch/microblaze/kernel/ptrace.c
arch/microblaze/kernel/signal.c
arch/microblaze/kernel/sys_microblaze.c
Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-14 11:09:15 +02:00
Michal Simek
39141bfcad
microblaze: Add TIMESTAMPING constants to socket.h
...
This changes was introduce with
commit: cb9eff0978
net: new user space API for time stamping of incoming and outgoing packets
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-14 10:37:20 +02:00
Michal Simek
6c149fd7cd
microblaze: Add missing empty ftrace.h file
...
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-14 10:37:18 +02:00
Michal Simek
5a9bd51810
microblaze: Fix problem with removing zero length files
...
Adding one new line was recommended solution.
Test with make distclean
Tested-by: Jeff Garzik <jgarzik@redhat.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-04-14 10:37:09 +02:00
Michal Simek
eedbdab99f
microblaze_v8: Interrupt handling and timer support
...
Reviewed-by: Thomas Gleixner <tglx@linutronix.de >
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Reviewed-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:49 +01:00
Michal Simek
3be100114a
microblaze_v8: syscalls.h
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:49 +01:00
Michal Simek
36174f4e87
microblaze_v8: pci headers
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:48 +01:00
Michal Simek
e96978b272
microblaze_v8: Kbuild file
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:47 +01:00
Michal Simek
4684dadec6
microblaze_v8: string.h thread_info.h
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:47 +01:00
Michal Simek
dd0105a6e9
microblaze_v8: unistd.h
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:46 +01:00
Michal Simek
9de8901153
microblaze_v8: fcntl.h sockios.h ucontext.h
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:45 +01:00
Michal Simek
a9ebdfc5ed
microblaze_v8: pool.h socket.h
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:44 +01:00
Michal Simek
0a7d800de2
microblaze_v8: device.h param.h topology.h
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:44 +01:00
Michal Simek
4115ac8381
microblaze_v8: headers files entry.h current.h mman.h registers.h sembuf.h
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:43 +01:00
Michal Simek
aa683ff145
microblaze_v8: namei.h
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:42 +01:00
Michal Simek
a1a741e414
microblaze_v8: gpio.h, serial.h
...
Reviewed-by: Ingo Molnar <mingo@elte.hu >
Acked-by: John Linn <john.linn@xilinx.com >
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com >
Acked-by: John Williams <john.williams@petalogix.com >
Signed-off-by: Michal Simek <monstr@monstr.eu >
2009-03-27 14:25:42 +01:00