void local_save_flags(unsigned long flags)