aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2013-10-30 08:18:25 -0400
committerMax Filippov <jcmvbkbc@gmail.com>2014-01-25 14:24:38 -0500
commit3251f1e27a5a17f0efd436cfd1e7b9896cfab0a0 (patch)
treebbc623531e4ef45620b84d37ca5325605b12c2f4 /lib/string_helpers.c
parente2fd1374c705abe4661df3fb6fadb3879c7c1846 (diff)
xtensa: save current register frame in fast_syscall_spill_registers_fixup
We need it saved because it contains a3 where we track which register windows we still need to spill, and fixup handler may call C exception handlers. Also fix comments. Cc: stable@vger.kernel.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
ppc"> #define PMU_BATT_TYPE_COMET 0x00000030 /* 2400 */ struct pmu_battery_info { unsigned int flags; unsigned int charge; /* current charge */ unsigned int max_charge; /* maximum charge */ signed int amperage; /* current, positive if charging */ unsigned int voltage; /* voltage */ unsigned int time_remaining; /* remaining time */ }; extern int pmu_battery_count; extern struct pmu_battery_info pmu_batteries[PMU_MAX_BATTERIES]; extern unsigned int pmu_power_flags; /* Backlight */ extern void pmu_backlight_init(void); /* some code needs to know if the PMU was suspended for hibernation */ #if defined(CONFIG_SUSPEND) && defined(CONFIG_PPC32) extern int pmu_sys_suspended; #else /* if power management is not configured it can't be suspended */ #define pmu_sys_suspended 0 #endif #endif /* _LINUX_PMU_H */