android_kernel_google_msm/arch/powerpc/platforms/pseries
Paul Gortmaker 62fe91bba2 powerpc: Fix up implicit sched.h users
They are getting it through device.h --> module.h path, but we want
to clean that up.  This is a sample of what will happen if we don't:

  pseries/iommu.c: In function 'tce_build_pSeriesLP':
  pseries/iommu.c:136: error: implicit declaration of function 'show_stack'

  pseries/eeh.c: In function 'eeh_token_to_phys':
  pseries/eeh.c:359: error: 'init_mm' undeclared (first use in this function)

  pseries/eeh_event.c: In function 'eeh_event_handler':
  pseries/eeh_event.c:63: error: implicit declaration of function 'daemonize'
  pseries/eeh_event.c:64: error: implicit declaration of function 'set_current_state'
  pseries/eeh_event.c:64: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
  pseries/eeh_event.c:64: error: (Each undeclared identifier is reported only once
  pseries/eeh_event.c:64: error: for each function it appears in.)
  pseries/eeh_event.c: In function 'eeh_thread_launcher':
  pseries/eeh_event.c:109: error: 'CLONE_KERNEL' undeclared (first use in this function)

  hotplug-cpu.c: In function 'pseries_mach_cpu_die':
  hotplug-cpu.c:115: error: implicit declaration of function 'idle_task_exit'

  kernel/swsusp_64.c: In function 'do_after_copyback':
  kernel/swsusp_64.c:17: error: implicit declaration of function 'touch_softlockup_watchdog'

  cell/spufs/context.c: In function 'alloc_spu_context':
  cell/spufs/context.c:60: error: implicit declaration of function 'get_task_mm'
  cell/spufs/context.c:60: warning: assignment makes pointer from integer without a cast
  cell/spufs/context.c: In function 'spu_forget':
  cell/spufs/context.c:127: error: implicit declaration of function 'mmput'

  pasemi/dma_lib.c: In function 'pasemi_dma_stop_chan':
  pasemi/dma_lib.c:332: error: implicit declaration of function 'cond_resched'

  sysdev/fsl_lbc.c: In function 'fsl_lbc_ctrl_irq':
  sysdev/fsl_lbc.c:247: error: 'TASK_NORMAL' undeclared (first use in this function)

Add in sched.h so these get the definitions they are looking for.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2011-10-31 19:30:40 -04:00
..
cmm.c powerpc/pseries: Cleanup use of notifier_from_errno() 2011-03-02 16:50:06 +11:00
dlpar.c powerpc/pseries: Introduce pSeries_reconfig_notify() 2011-06-29 17:48:22 +10:00
dtl.c powerpc/pseries: Fix kexec on recent firmware versions 2011-08-05 14:47:57 +10:00
eeh.c powerpc: Fix up implicit sched.h users 2011-10-31 19:30:40 -04:00
eeh_cache.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
eeh_driver.c powerpc/eeh: Display eeh error location for bus and device 2011-05-06 13:32:31 +10:00
eeh_event.c powerpc: Fix up implicit sched.h users 2011-10-31 19:30:40 -04:00
eeh_sysfs.c powerpc: Fix up implicit stat.h users 2011-10-31 19:30:39 -04:00
event_sources.c powerpc/pseries: Add WARN_ON() to request_event_sources_irqs() on irq allocation/request failure 2010-07-09 11:28:32 +10:00
firmware.c powerpc: Add VPHN firmware feature 2010-11-29 15:48:22 +11:00
hotplug-cpu.c powerpc: Fix up implicit sched.h users 2011-10-31 19:30:40 -04:00
hotplug-memory.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-07-25 22:59:39 -07:00
hvCall.S powerpc: Remove second definition of STACK_FRAME_OVERHEAD 2010-11-29 15:48:23 +11:00
hvCall_inst.c powerpc: remove cast from void* 2010-11-03 10:23:26 -04:00
hvconsole.c powerpc/pseries/hvconsole: Fix dropped console output 2011-07-19 15:13:05 +10:00
hvcserver.c
io_event_irq.c powerpc: Lack of ibm,io-events not that important! 2011-08-05 14:47:56 +10:00
iommu.c powerpc: Fix up implicit sched.h users 2011-10-31 19:30:40 -04:00
Kconfig pcspkr: Cleanup Kconfig dependencies 2011-06-09 15:01:41 +02:00
kexec.c powerpc/pseries: Simplify vpa deregistration functions 2011-08-05 14:47:58 +10:00
lpar.c powerpc: add export.h to files making use of EXPORT_SYMBOL 2011-10-31 19:30:37 -04:00
Makefile powerpc/pseries: Add support for IO event interrupts 2011-05-06 13:19:01 +10:00
mobility.c powerpc: Fix up implicit stat.h users 2011-10-31 19:30:39 -04:00
msi.c powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
nvram.c powerpc/nvram: Don't overwrite oops/panic report on normal shutdown 2011-03-30 10:36:23 +11:00
offline_states.h powerpc/smp: soft-replugged CPUs must go back to start_secondary 2011-04-01 15:37:09 +11:00
pci.c
pci_dlpar.c powerpc: include export.h for files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:30:38 -04:00
phyp_dump.c lmb: rename to memblock 2010-07-14 17:14:00 +10:00
plpar_wrappers.h powerpc/pseries: Simplify vpa deregistration functions 2011-08-05 14:47:58 +10:00
power.c
pseries.h powerpc/pseries: Re-implement HVSI as part of hvc_vio 2011-06-29 17:48:35 +10:00
pseries_energy.c powerpc: Add support for new hcall H_BEST_ENERGY 2010-11-29 15:48:19 +11:00
ras.c powerpc/pseries: Print corrupt r3 in FWNMI code 2011-05-19 14:30:43 +10:00
reconfig.c powerpc/pseries: Improve error code on reconfiguration notifier failure 2011-06-29 17:48:24 +10:00
scanlog.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
setup.c powerpc/pseries: Cleanup VPA registration and deregistration errors 2011-08-05 14:47:57 +10:00
smp.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
suspend.c powerpc: Fix up implicit stat.h users 2011-10-31 19:30:39 -04:00