X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-s390%2Fprocessor.h;h=4c9d607021d7fafe18668dbb4cfaa6149d33103a;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=33154f85aed6a1b1aba6d9f3731ef78f2bb9224c;hpb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;p=linux-2.6.git diff --git a/include/asm-s390/processor.h b/include/asm-s390/processor.h index 33154f85a..4c9d60702 100644 --- a/include/asm-s390/processor.h +++ b/include/asm-s390/processor.h @@ -319,6 +319,16 @@ static inline void disabled_wait(unsigned long code) #endif /* __s390x__ */ } +/* + * CPU idle notifier chain. + */ +#define CPU_IDLE 0 +#define CPU_NOT_IDLE 1 + +struct notifier_block; +int register_idle_notifier(struct notifier_block *nb); +int unregister_idle_notifier(struct notifier_block *nb); + #endif #endif /* __ASM_S390_PROCESSOR_H */